Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 192.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001903, allocations: 279 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9092/0.9092, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 97.62 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1691, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002335/0.1715, allocations: 1.377 MB / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.173, allocations: 1.093 MB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.1731, allocations: 3.938 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.479e-05/0.1732, allocations: 12.64 kB / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009373/0.1741, allocations: 450.4 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.339e-05/0.1742, allocations: 1.906 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1743, allocations: 99.72 kB / 0.6827 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.1743, allocations: 8.172 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.1744, allocations: 39.84 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1745, allocations: 67.73 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1745, allocations: 8 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.1752, allocations: 0.5499 MB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.815e-05/0.1753, allocations: 79.8 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.1753, allocations: 75.3 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.1759, allocations: 0.5653 MB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1759, allocations: 0 / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1759, allocations: 3.938 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1759, allocations: 0 / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006145/0.1765, allocations: 0.5549 MB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1766, allocations: 12.03 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/0.1767, allocations: 62.64 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1767, allocations: 28.56 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1769, allocations: 227.8 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1769, allocations: 12.36 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.177, allocations: 7.938 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1773, allocations: 304.9 kB / 0.6852 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1773, allocations: 3.938 kB / 0.6852 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1774, allocations: 0 / 0.6852 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.1775, allocations: 83.92 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.1777, allocations: 252.4 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.179, allocations: 0.6181 MB / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1792, allocations: 178.8 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.1793, allocations: 169 kB / 0.6865 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.1794, allocations: 4 kB / 0.6865 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1794, allocations: 42.5 kB / 0.6865 GB, free: 9.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.232e-06/0.1794, allocations: 0 / 0.6865 GB, free: 9.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006583/0.1801, allocations: 0.5282 MB / 0.687 GB, free: 9.293 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1801, allocations: 85.05 kB / 0.6871 GB, free: 9.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1804, allocations: 286.6 kB / 0.6874 GB, free: 8.906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1804, allocations: 29.69 kB / 0.6874 GB, free: 8.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.1805, allocations: 136.8 kB / 0.6875 GB, free: 8.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.1806, allocations: 110.3 kB / 0.6876 GB, free: 8.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.1807, allocations: 45.69 kB / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1808, allocations: 334.8 kB / 0.688 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1809, allocations: 131.9 kB / 0.6881 GB, free: 8.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1811, allocations: 140.5 kB / 0.6883 GB, free: 7.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.1814, allocations: 377.5 kB / 0.6886 GB, free: 7.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1814, allocations: 0 / 0.6886 GB, free: 7.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003923/0.1818, allocations: 387.2 kB / 0.689 GB, free: 7.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1819, allocations: 29.7 kB / 0.689 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1819, allocations: 4 kB / 0.689 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1819, allocations: 0 / 0.689 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/0.1819, allocations: 7.984 kB / 0.689 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.182, allocations: 3.938 kB / 0.689 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.182, allocations: 19.69 kB / 0.6891 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.182, allocations: 12.14 kB / 0.6891 GB, free: 7.113 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.1822, allocations: 180.8 kB / 0.6892 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.1823, allocations: 27.61 kB / 0.6893 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.1823, allocations: 22.95 kB / 0.6893 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.717e-05/0.1824, allocations: 43.97 kB / 0.6893 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1824, allocations: 7.875 kB / 0.6893 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1824, allocations: 0 / 0.6893 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.183, allocations: 297.3 kB / 0.6896 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.183, allocations: 4 kB / 0.6896 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.183, allocations: 0 / 0.6896 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.183, allocations: 3.984 kB / 0.6896 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.183, allocations: 4 kB / 0.6896 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.183, allocations: 0 / 0.6896 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.183, allocations: 3.938 kB / 0.6896 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.1835, allocations: 498.4 kB / 0.6901 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.1836, allocations: 112.6 kB / 0.6902 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1836, allocations: 0 / 0.6902 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.1837, allocations: 0 / 0.6902 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.1837, allocations: 15.92 kB / 0.6902 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1837, allocations: 12 kB / 0.6903 GB, free: 5.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1839, allocations: 213.9 kB / 0.6905 GB, free: 5.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1839, allocations: 0 / 0.6905 GB, free: 5.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1844, allocations: 168 kB / 0.6906 GB, free: 5.426 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009807/0.1853, allocations: 1.133 MB / 0.6917 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.1858, allocations: 399.1 kB / 0.6921 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1858, allocations: 0 / 0.6921 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.186, allocations: 243.3 kB / 0.6923 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.1863, allocations: 12.5 kB / 0.6923 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.1899, allocations: 3.68 MB / 0.6959 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1902, allocations: 0.7715 MB / 0.6967 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.058e-05/0.1903, allocations: 45.08 kB / 0.6967 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1904, allocations: 79.34 kB / 0.6968 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.1904, allocations: 0 / 0.6968 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.2135, allocations: 6.404 MB / 0.7031 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.2137, allocations: 244.4 kB / 0.7033 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.09, allocations: 4.688 kB / 0.7033 GB, free: 8.438 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)