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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 216 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002525/0.002525, allocations: 286.8 kB / 313.5 MB, free: 2.855 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.182/1.182, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002968/0.002968, allocations: 105.7 kB / 0.7408 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.168, allocations: 95.38 MB / 0.834 GB, free: 8.223 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00255/0.1706, allocations: 1.291 MB / 0.8352 GB, free: 6.918 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.1709, allocations: 123.5 kB / 0.8353 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.1709, allocations: 3.938 kB / 0.8353 GB, free: 6.793 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.1709, allocations: 0 / 0.8353 GB, free: 6.793 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.171, allocations: 7.984 kB / 0.8353 GB, free: 6.785 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1712, allocations: 39.83 kB / 0.8354 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.1713, allocations: 15.92 kB / 0.8354 GB, free: 6.73 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1713, allocations: 0 / 0.8354 GB, free: 6.73 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.1714, allocations: 11.94 kB / 0.8354 GB, free: 6.719 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.1714, allocations: 3.984 kB / 0.8354 GB, free: 6.715 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1714, allocations: 4 kB / 0.8354 GB, free: 6.711 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1716, allocations: 47.95 kB / 0.8355 GB, free: 6.664 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1716, allocations: 7.984 kB / 0.8355 GB, free: 6.656 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.1716, allocations: 11.92 kB / 0.8355 GB, free: 6.645 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1717, allocations: 31.89 kB / 0.8355 GB, free: 6.613 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1717, allocations: 0 / 0.8355 GB, free: 6.613 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1717, allocations: 0 / 0.8355 GB, free: 6.613 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1717, allocations: 0 / 0.8355 GB, free: 6.613 MB / 0.5763 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.0004032/0.1721, allocations: 258.3 kB / 0.8358 GB, free: 6.332 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1722, allocations: 9.938 kB / 0.8358 GB, free: 6.324 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.1722, allocations: 4.938 kB / 0.8358 GB, free: 6.32 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1723, allocations: 106.5 kB / 0.8359 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1723, allocations: 4.375 kB / 0.8359 GB, free: 6.188 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1723, allocations: 8.312 kB / 0.8359 GB, free: 6.18 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.1724, allocations: 41.56 kB / 0.8359 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1724, allocations: 3.938 kB / 0.8359 GB, free: 6.129 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1724, allocations: 4 kB / 0.8359 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1724, allocations: 0 / 0.8359 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.1725, allocations: 4 kB / 0.8359 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.1726, allocations: 120.8 kB / 0.8361 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.1727, allocations: 26.61 kB / 0.8361 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.1727, allocations: 8.859 kB / 0.8361 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/0.1732, allocations: 87.86 kB / 0.8362 GB, free: 5.828 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1732, allocations: 30.56 kB / 0.8362 GB, free: 5.789 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1732, allocations: 0 / 0.8362 GB, free: 5.789 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.1734, allocations: 49.69 kB / 0.8363 GB, free: 5.734 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.1734, allocations: 51.41 kB / 0.8363 GB, free: 5.672 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.169e-05/0.1735, allocations: 97.86 kB / 0.8364 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1735, allocations: 25.7 kB / 0.8364 GB, free: 5.535 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.1736, allocations: 80.14 kB / 0.8365 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1736, allocations: 11.92 kB / 0.8365 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1736, allocations: 17.72 kB / 0.8365 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1738, allocations: 310.8 kB / 0.8368 GB, free: 5.105 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.1738, allocations: 8.125 kB / 0.8368 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.1738, allocations: 3.938 kB / 0.8368 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.1738, allocations: 16.86 kB / 0.8368 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1738, allocations: 0 / 0.8368 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.422e-05/0.1739, allocations: 41.62 kB / 0.8369 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1739, allocations: 4 kB / 0.8369 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.1739, allocations: 0 / 0.8369 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1739, allocations: 0 / 0.8369 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-05/0.174, allocations: 8.094 kB / 0.8369 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.174, allocations: 4 kB / 0.8369 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.174, allocations: 0 / 0.8369 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.174, allocations: 4 kB / 0.8369 GB, free: 5.008 MB / 0.5763 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 8.19e-05/0.1741, allocations: 114.4 kB / 0.837 GB, free: 4.887 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1741, allocations: 7.922 kB / 0.837 GB, free: 4.879 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.1742, allocations: 41.02 kB / 0.8371 GB, free: 4.828 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1742, allocations: 7.938 kB / 0.8371 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.1742, allocations: 192 / 0.8371 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1742, allocations: 4.031 kB / 0.8371 GB, free: 4.816 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.1743, allocations: 128.7 kB / 0.8372 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1743, allocations: 3.938 kB / 0.8372 GB, free: 4.645 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.1743, allocations: 4 kB / 0.8372 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1743, allocations: 0 / 0.8372 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1743, allocations: 7.984 kB / 0.8372 GB, free: 4.633 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1743, allocations: 0 / 0.8372 GB, free: 4.633 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1743, allocations: 3.938 kB / 0.8372 GB, free: 4.629 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.435e-05/0.1744, allocations: 69.08 kB / 0.8373 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.1744, allocations: 3.938 kB / 0.8373 GB, free: 4.539 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1744, allocations: 3.984 kB / 0.8373 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.1745, allocations: 0 / 0.8373 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.1745, allocations: 0 / 0.8373 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1745, allocations: 4 kB / 0.8373 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.1745, allocations: 75.28 kB / 0.8374 GB, free: 4.457 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1745, allocations: 0 / 0.8374 GB, free: 4.457 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001968/0.1747, allocations: 15.94 kB / 0.8374 GB, free: 4.441 MB / 0.5763 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.0001661/0.1749, allocations: 119.2 kB / 0.8375 GB, free: 4.312 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 7.991e-05/0.175, allocations: 11.94 kB / 0.8375 GB, free: 4.301 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.175, allocations: 0 / 0.8375 GB, free: 4.301 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.175, allocations: 4 kB / 0.8375 GB, free: 4.297 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1752, allocations: 14.42 kB / 0.8375 GB, free: 4.285 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.1755, allocations: 128.2 kB / 0.8376 GB, free: 4.129 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1758, allocations: 0.6729 MB / 0.8383 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1759, allocations: 11.44 kB / 0.8383 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of SimCode: time 2.81e-07/0.1759, allocations: 0 / 0.8383 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of Templates: time 0.002693/0.1786, allocations: 0.6195 MB / 0.8389 GB, free: 2.805 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.195205176016316] Failed to read output from testmodel.py, exit status != 0: 0.1861771249677986 0.20269814900000002 0.027879482 Calling exit ...