Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 108.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002348/0.002348, allocations: 283.4 kB / 303 MB, free: 9.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.139/1.139, allocations: 180.9 MB / 0.5261 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 179] 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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 102.4 kB / 0.7248 GB, free: 39.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1525, allocations: 94.15 MB / 0.8167 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002367/0.1549, allocations: 1.257 MB / 0.8179 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003136/0.1552, allocations: 123.5 kB / 0.8181 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.1553, allocations: 0 / 0.8181 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.1553, allocations: 4 kB / 0.8181 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.1553, allocations: 7.938 kB / 0.8181 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.1555, allocations: 39.88 kB / 0.8181 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.1556, allocations: 11.94 kB / 0.8181 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1556, allocations: 7.984 kB / 0.8181 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.1557, allocations: 3.938 kB / 0.8181 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.1557, allocations: 4 kB / 0.8181 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1557, allocations: 0 / 0.8181 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1558, allocations: 51.94 kB / 0.8182 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1558, allocations: 4 kB / 0.8182 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.1559, allocations: 15.81 kB / 0.8182 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.156, allocations: 44.16 kB / 0.8182 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.156, allocations: 0 / 0.8182 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.156, allocations: 0 / 0.8182 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5e-06/0.156, allocations: 0 / 0.8182 GB, free: 3.895 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003952/0.1564, allocations: 327.4 kB / 0.8186 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1564, allocations: 12.03 kB / 0.8186 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.1565, allocations: 38.75 kB / 0.8186 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.1565, allocations: 8.875 kB / 0.8186 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.1566, allocations: 168.4 kB / 0.8188 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-06/0.1566, allocations: 384 / 0.8188 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1567, allocations: 4.125 kB / 0.8188 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.425e-05/0.1567, allocations: 29.7 kB / 0.8188 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1567, allocations: 0 / 0.8188 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.1568, allocations: 0 / 0.8188 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1568, allocations: 0 / 0.8188 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.1568, allocations: 11.92 kB / 0.8188 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.157, allocations: 153.7 kB / 0.819 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.157, allocations: 26.75 kB / 0.819 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.157, allocations: 12.86 kB / 0.819 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007125/0.1578, allocations: 0.5974 MB / 0.8196 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1578, allocations: 34.56 kB / 0.8196 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1578, allocations: 8 kB / 0.8196 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.1579, allocations: 49.58 kB / 0.8197 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.158, allocations: 51.41 kB / 0.8197 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.158, allocations: 97.86 kB / 0.8198 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1581, allocations: 25.7 kB / 0.8198 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.1581, allocations: 84.12 kB / 0.8199 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.1581, allocations: 11.89 kB / 0.8199 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1581, allocations: 13.72 kB / 0.8199 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1583, allocations: 319 kB / 0.8202 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.1583, allocations: 0 / 0.8202 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.1583, allocations: 4 kB / 0.8203 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.1583, allocations: 12.86 kB / 0.8203 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1583, allocations: 0 / 0.8203 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.294e-05/0.1584, allocations: 45.56 kB / 0.8203 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1584, allocations: 8 kB / 0.8203 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1584, allocations: 0 / 0.8203 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1584, allocations: 4.094 kB / 0.8203 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.1585, allocations: 4 kB / 0.8203 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1585, allocations: 0 / 0.8203 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.1585, allocations: 0 / 0.8203 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.1585, allocations: 3.938 kB / 0.8203 GB, free: 1.398 MB / 0.5606 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.127e-05/0.1586, allocations: 117.8 kB / 0.8204 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.1586, allocations: 7.938 kB / 0.8204 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.346e-05/0.1587, allocations: 48.75 kB / 0.8205 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1587, allocations: 4.031 kB / 0.8205 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1587, allocations: 3.984 kB / 0.8205 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1587, allocations: 192 / 0.8205 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1588, allocations: 149.6 kB / 0.8206 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1588, allocations: 0 / 0.8206 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.1588, allocations: 11.97 kB / 0.8207 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1588, allocations: 0 / 0.8207 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1588, allocations: 4 kB / 0.8207 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1588, allocations: 4 kB / 0.8207 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1588, allocations: 0 / 0.8207 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.322e-05/0.1589, allocations: 69.08 kB / 0.8207 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.159, allocations: 85.05 kB / 0.8208 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.159, allocations: 0 / 0.8208 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.159, allocations: 3.938 kB / 0.8208 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.159, allocations: 4 kB / 0.8208 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.159, allocations: 0 / 0.8208 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.1591, allocations: 79.28 kB / 0.8209 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1591, allocations: 0 / 0.8209 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001839/0.1592, allocations: 19.97 kB / 0.8209 GB, free: 0.6992 MB / 0.5606 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0004376/0.1597, allocations: 0.6193 MB / 0.8215 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.1598, allocations: 11.94 kB / 0.8215 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1598, allocations: 0 / 0.8215 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.1598, allocations: 8.094 kB / 0.8215 GB, free: 32 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.16, allocations: 15.08 kB / 0.8216 GB, free: 20 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009962/0.161, allocations: 1.091 MB / 0.8226 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1613, allocations: 0.669 MB / 0.8233 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.1613, allocations: 4 kB / 0.8233 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.1613, allocations: 11.42 kB / 0.8233 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1613, allocations: 4 kB / 0.8233 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.1853, allocations: 1.461 MB / 0.8247 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.753, allocations: 0.5 kB / 0.8247 GB, free: 12.8 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.642235616687685] Failed to read output from testmodel.py, exit status != 0: 7.8154954090714455 7.828050046 7.669551644 Calling exit ...