Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001732/0.001732, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.002079/0.002079, allocations: 158.7 kB / 23.01 MB, free: 4.941 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8379/0.8379, allocations: 101.3 MB / 361.1 MB, free: 9.547 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 660] "Notification: IDEAS 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.002093/0.002093, allocations: 71.56 kB / 0.5356 GB, free: 5.188 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1738, allocations: 85.88 MB / 0.6195 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00246/0.1762, allocations: 1.275 MB / 0.6207 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.1766, allocations: 123.5 kB / 0.6209 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.1766, allocations: 0 / 0.6209 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.1766, allocations: 0 / 0.6209 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.1767, allocations: 3.938 kB / 0.6209 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1769, allocations: 39.89 kB / 0.6209 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.637e-05/0.177, allocations: 7.938 kB / 0.6209 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.177, allocations: 7.984 kB / 0.6209 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.177, allocations: 11.98 kB / 0.6209 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.1771, allocations: 3.938 kB / 0.6209 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1771, allocations: 0 / 0.6209 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1772, allocations: 51.94 kB / 0.621 GB, free: 48 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.1773, allocations: 4 kB / 0.621 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.1773, allocations: 3.938 kB / 0.621 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1774, allocations: 39.88 kB / 0.621 GB, free: 0 / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1774, allocations: 0 / 0.621 GB, free: 0 / 0.5137 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1774, allocations: 0 / 0.621 GB, free: 0 / 0.5137 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1774, allocations: 0 / 0.621 GB, free: 0 / 0.5137 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.0004465/0.1779, allocations: 266.2 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1779, allocations: 8.031 kB / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1779, allocations: 4.938 kB / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1781, allocations: 110.5 kB / 0.6214 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1781, allocations: 384 / 0.6214 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.1781, allocations: 4.375 kB / 0.6214 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.042e-05/0.1782, allocations: 33.64 kB / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1782, allocations: 0 / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1782, allocations: 4 kB / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1782, allocations: 0 / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.1782, allocations: 4 kB / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1784, allocations: 117.3 kB / 0.6216 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.1784, allocations: 22.52 kB / 0.6216 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.1785, allocations: 8.797 kB / 0.6216 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000483/0.1789, allocations: 91.91 kB / 0.6217 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.179, allocations: 38.5 kB / 0.6217 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.179, allocations: 0 / 0.6217 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001456/0.1791, allocations: 37.7 kB / 0.6217 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1792, allocations: 51.53 kB / 0.6218 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.1792, allocations: 101.8 kB / 0.6219 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1793, allocations: 33.64 kB / 0.6219 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.1793, allocations: 84.14 kB / 0.622 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1793, allocations: 3.953 kB / 0.622 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1794, allocations: 13.72 kB / 0.622 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1795, allocations: 314.8 kB / 0.6223 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.1795, allocations: 0 / 0.6223 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.1795, allocations: 7.984 kB / 0.6223 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.1796, allocations: 8.859 kB / 0.6223 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1796, allocations: 4.062 kB / 0.6223 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.821e-05/0.1796, allocations: 41.7 kB / 0.6224 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1797, allocations: 7.938 kB / 0.6224 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1797, allocations: 0 / 0.6224 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1797, allocations: 0 / 0.6224 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.1797, allocations: 7.938 kB / 0.6224 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1797, allocations: 3.984 kB / 0.6224 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.1798, allocations: 0 / 0.6224 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.1798, allocations: 0 / 0.6224 GB, free: 14.42 MB / 0.5294 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 9.267e-05/0.1799, allocations: 110.9 kB / 0.6225 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.1799, allocations: 8.156 kB / 0.6225 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.18, allocations: 49 kB / 0.6226 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.18, allocations: 3.984 kB / 0.6226 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.18, allocations: 4 kB / 0.6226 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.18, allocations: 0 / 0.6226 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.588e-05/0.1801, allocations: 97.33 kB / 0.6227 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1801, allocations: 0 / 0.6227 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.1801, allocations: 0 / 0.6227 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1801, allocations: 4 kB / 0.6227 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1801, allocations: 11.86 kB / 0.6227 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.1801, allocations: 4.031 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1801, allocations: 3.938 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.9e-05/0.1802, allocations: 65.09 kB / 0.6227 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.1802, allocations: 0 / 0.6227 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1802, allocations: 7.922 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.1803, allocations: 4 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.1803, allocations: 8 kB / 0.6228 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1803, allocations: 3.938 kB / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.1803, allocations: 75.28 kB / 0.6228 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1803, allocations: 4 kB / 0.6228 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000196/0.1805, allocations: 11.94 kB / 0.6229 GB, free: 13.89 MB / 0.5294 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.0001776/0.1807, allocations: 115.2 kB / 0.623 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.1808, allocations: 15.94 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1808, allocations: 0 / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.1808, allocations: 4 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.181, allocations: 7.984 kB / 0.623 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.1813, allocations: 109.5 kB / 0.6231 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.1813, allocations: 59.48 kB / 0.6232 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.1814, allocations: 4 kB / 0.6232 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.1814, allocations: 8.5 kB / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1814, allocations: 0 / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.00305/0.1844, allocations: 0.6399 MB / 0.6238 GB, free: 12.89 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.477530912961811] Failed to read output from testmodel.py, exit status != 0: 0.19236215006094426 0.207407489 0.026938446 Calling exit ...