Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001366/0.001366, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.002573/0.002573, allocations: 191.7 kB / 22.85 MB, free: 5.637 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.419/1.419, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002515/0.002515, allocations: 285.1 kB / 307 MB, free: 8.379 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.152/1.152, allocations: 180.8 MB / 0.5304 GB, free: 14.53 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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 96.53 kB / 0.7311 GB, free: 38.75 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1519, allocations: 94.21 MB / 0.8231 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00236/0.1542, allocations: 1.294 MB / 0.8244 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005772/0.1548, allocations: 310.9 kB / 0.8247 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.1548, allocations: 3.938 kB / 0.8247 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.1548, allocations: 0 / 0.8247 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.1549, allocations: 11.92 kB / 0.8247 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1552, allocations: 75.72 kB / 0.8248 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.1553, allocations: 31.86 kB / 0.8248 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.1553, allocations: 19.92 kB / 0.8248 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1555, allocations: 27.91 kB / 0.8248 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.1555, allocations: 7.938 kB / 0.8248 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1555, allocations: 4 kB / 0.8248 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1557, allocations: 79.91 kB / 0.8249 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.1557, allocations: 8 kB / 0.8249 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.1557, allocations: 15.92 kB / 0.8249 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1559, allocations: 71.72 kB / 0.825 GB, free: 40 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1559, allocations: 4 kB / 0.825 GB, free: 36 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1559, allocations: 0 / 0.825 GB, free: 36 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1559, allocations: 3.938 kB / 0.825 GB, free: 32 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004192/0.1563, allocations: 282.2 kB / 0.8253 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1564, allocations: 8.031 kB / 0.8253 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1564, allocations: 12.94 kB / 0.8253 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1565, allocations: 110.5 kB / 0.8254 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1565, allocations: 4.375 kB / 0.8254 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1565, allocations: 384 / 0.8254 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1567, allocations: 67.33 kB / 0.8255 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1567, allocations: 0 / 0.8255 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1567, allocations: 4 kB / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1567, allocations: 0 / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.1567, allocations: 7.984 kB / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.1569, allocations: 136.7 kB / 0.8256 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.603e-05/0.157, allocations: 42.5 kB / 0.8257 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.157, allocations: 8.859 kB / 0.8257 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000652/0.1577, allocations: 143.9 kB / 0.8258 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1577, allocations: 30.56 kB / 0.8258 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1577, allocations: 0 / 0.8258 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001484/0.1578, allocations: 61.61 kB / 0.8259 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.1579, allocations: 51.41 kB / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.158, allocations: 105.8 kB / 0.826 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.158, allocations: 25.7 kB / 0.8261 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.158, allocations: 84.14 kB / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.158, allocations: 11.91 kB / 0.8262 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1581, allocations: 17.72 kB / 0.8262 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1582, allocations: 314.8 kB / 0.8265 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.1582, allocations: 4 kB / 0.8265 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.1583, allocations: 8 kB / 0.8265 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.1583, allocations: 12.86 kB / 0.8265 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1583, allocations: 0 / 0.8265 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.746e-05/0.1584, allocations: 53.56 kB / 0.8266 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1584, allocations: 7.938 kB / 0.8266 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1584, allocations: 4 kB / 0.8266 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1584, allocations: 0 / 0.8266 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.1584, allocations: 4 kB / 0.8266 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1585, allocations: 7.938 kB / 0.8266 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.1585, allocations: 3.953 kB / 0.8266 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1585, allocations: 3.984 kB / 0.8266 GB, free: 14.23 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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.868e-05/0.1586, allocations: 114.5 kB / 0.8267 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.1586, allocations: 3.938 kB / 0.8267 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.1587, allocations: 65.62 kB / 0.8268 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1587, allocations: 0 / 0.8268 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1587, allocations: 0 / 0.8268 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1587, allocations: 0 / 0.8268 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1588, allocations: 128.8 kB / 0.8269 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1588, allocations: 7.922 kB / 0.8269 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.1589, allocations: 4 kB / 0.8269 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1589, allocations: 0 / 0.8269 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1589, allocations: 0 / 0.8269 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1589, allocations: 4 kB / 0.8269 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1589, allocations: 8.312 kB / 0.8269 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.159, allocations: 73.08 kB / 0.827 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.159, allocations: 11.94 kB / 0.827 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.159, allocations: 3.984 kB / 0.827 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.1591, allocations: 0 / 0.827 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.1591, allocations: 7.938 kB / 0.827 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1591, allocations: 4 kB / 0.827 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.1591, allocations: 95.25 kB / 0.8271 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1591, allocations: 0 / 0.8271 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002028/0.1593, allocations: 27.88 kB / 0.8271 GB, free: 13.6 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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.0001985/0.1595, allocations: 127.1 kB / 0.8272 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.1596, allocations: 16.41 kB / 0.8273 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1596, allocations: 0 / 0.8273 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.1597, allocations: 8 kB / 0.8273 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.1599, allocations: 8.125 kB / 0.8273 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.1601, allocations: 122.2 kB / 0.8274 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1605, allocations: 0.6846 MB / 0.8281 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.1605, allocations: 11.94 kB / 0.8281 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.1605, allocations: 7.438 kB / 0.8281 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1605, allocations: 0 / 0.8281 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of Templates: time 0.003061/0.1636, allocations: 0.8124 MB / 0.8289 GB, free: 11.75 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.872357829939574] Failed to read output from testmodel.py, exit status != 0: 0.17066526401322335 0.18557900500000002 0.026702634000000003 Calling exit ...