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.00131/0.001311, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 271.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 104.4 kB / 0.6066 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1542, allocations: 89.14 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002423/0.1566, allocations: 1.315 MB / 0.6949 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1583, allocations: 1.086 MB / 0.6959 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.1584, allocations: 4 kB / 0.696 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.797e-05/0.1585, allocations: 13.56 kB / 0.696 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.1595, allocations: 497.4 kB / 0.6964 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.155e-05/0.1595, allocations: 0 / 0.6964 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1597, allocations: 94.47 kB / 0.6965 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.1597, allocations: 16.16 kB / 0.6965 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.1598, allocations: 43.78 kB / 0.6966 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1599, allocations: 59.8 kB / 0.6966 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1599, allocations: 4 kB / 0.6966 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007904/0.1607, allocations: 0.5577 MB / 0.6972 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.1608, allocations: 67.83 kB / 0.6973 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.1609, allocations: 76.06 kB / 0.6973 GB, free: 440 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.1616, allocations: 0.5771 MB / 0.6979 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1616, allocations: 1.719 kB / 0.6979 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1616, allocations: 0 / 0.6979 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1616, allocations: 0 / 0.6979 GB, free: 15.85 MB / 0.4981 GB 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.0006656/0.1623, allocations: 0.5547 MB / 0.6984 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1623, allocations: 12.69 kB / 0.6984 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.1624, allocations: 58.72 kB / 0.6985 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1624, allocations: 28.62 kB / 0.6985 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1627, allocations: 232.3 kB / 0.6988 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1627, allocations: 4.359 kB / 0.6988 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1627, allocations: 7.938 kB / 0.6988 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.1631, allocations: 312.9 kB / 0.6991 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1631, allocations: 0 / 0.6991 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1632, allocations: 3.984 kB / 0.6991 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.1633, allocations: 79.92 kB / 0.6991 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1636, allocations: 249 kB / 0.6994 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.165, allocations: 0.6297 MB / 0.7 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.1652, allocations: 174.7 kB / 0.7002 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.1654, allocations: 173.1 kB / 0.7003 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.1655, allocations: 0 / 0.7003 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1655, allocations: 34.56 kB / 0.7004 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.143e-06/0.1655, allocations: 4 kB / 0.7004 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0007374/0.1662, allocations: 0.5399 MB / 0.7009 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1663, allocations: 81.05 kB / 0.701 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.1666, allocations: 290.6 kB / 0.7012 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1666, allocations: 25.7 kB / 0.7013 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1667, allocations: 128.8 kB / 0.7014 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.1668, allocations: 110.3 kB / 0.7015 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.1669, allocations: 41.69 kB / 0.7015 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.1671, allocations: 346.8 kB / 0.7019 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.1672, allocations: 131.9 kB / 0.702 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1674, allocations: 131.9 kB / 0.7021 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.1678, allocations: 377.5 kB / 0.7025 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1678, allocations: 0 / 0.7025 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004547/0.1683, allocations: 391.1 kB / 0.7029 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.1683, allocations: 33.7 kB / 0.7029 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1683, allocations: 0 / 0.7029 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1683, allocations: 4 kB / 0.7029 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.66e-05/0.1684, allocations: 4 kB / 0.7029 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1684, allocations: 7.938 kB / 0.7029 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.1684, allocations: 19.69 kB / 0.7029 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.1685, allocations: 11.98 kB / 0.7029 GB, free: 10.42 MB / 0.4981 GB 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.0001536/0.1686, allocations: 175.5 kB / 0.7031 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.1687, allocations: 27.62 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.1687, allocations: 22.95 kB / 0.7031 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.409e-05/0.1688, allocations: 35.97 kB / 0.7032 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1688, allocations: 11.88 kB / 0.7032 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1688, allocations: 4 kB / 0.7032 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.1695, allocations: 293.4 kB / 0.7035 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1695, allocations: 4 kB / 0.7035 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.1695, allocations: 0 / 0.7035 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1695, allocations: 0 / 0.7035 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1695, allocations: 4 kB / 0.7035 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1696, allocations: 0 / 0.7035 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1696, allocations: 7.922 kB / 0.7035 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.1701, allocations: 498.3 kB / 0.704 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.1702, allocations: 108.7 kB / 0.7041 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1702, allocations: 4 kB / 0.7041 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.1703, allocations: 3.938 kB / 0.7041 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1703, allocations: 11.92 kB / 0.7041 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1704, allocations: 8 kB / 0.7041 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000218/0.1706, allocations: 217.9 kB / 0.7043 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1706, allocations: 0 / 0.7043 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004327/0.171, allocations: 164 kB / 0.7045 GB, free: 8.742 MB / 0.4981 GB 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.001117/0.1721, allocations: 1.137 MB / 0.7056 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.1726, allocations: 407.1 kB / 0.706 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1727, allocations: 0 / 0.706 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.1729, allocations: 235.3 kB / 0.7062 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1732, allocations: 20.5 kB / 0.7062 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.1771, allocations: 3.607 MB / 0.7097 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1776, allocations: 0.7792 MB / 0.7105 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.657e-05/0.1777, allocations: 45.08 kB / 0.7105 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1778, allocations: 75.41 kB / 0.7106 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1778, allocations: 0 / 0.7106 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.2058, allocations: 6.475 MB / 0.7169 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/7.987, allocations: 7.25 kB / 0.7169 GB, free: 11.95 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)