Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse") translateModel(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 97.36 kB / 15.69 MB, free: 480 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.0009351/0.0009351, allocations: 176.1 kB / 16.57 MB, free: 6.398 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.295/1.295, allocations: 223.2 MB / 240.5 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6785/0.6785, allocations: 113.8 MB / 405.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003075, allocations: 8 kB / 493.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse): time 0.4333/0.5805, allocations: 163.3 MB / 0.7163 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.5938, allocations: 9.07 MB / 0.7252 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.5953, allocations: 39.75 kB / 0.7252 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.597, allocations: 0.5829 MB / 0.7258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005722/0.6027, allocations: 1.907 MB / 0.7276 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.6066, allocations: 1.371 MB / 0.729 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004095/0.6107, allocations: 2.386 MB / 0.7313 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.6131, allocations: 1.578 MB / 0.7328 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.6155, allocations: 1.16 MB / 0.734 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.6169, allocations: 0.9415 MB / 0.7349 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002314/0.6172, allocations: 84 kB / 0.735 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.6202, allocations: 1.057 MB / 0.736 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006731/0.6208, allocations: 0.6036 MB / 0.7366 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006259/0.6215, allocations: 460.5 kB / 0.737 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003991/0.6255, allocations: 3.104 MB / 0.7401 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6255, allocations: 0 / 0.7401 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6255, allocations: 3.938 kB / 0.7401 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.673e-05/0.6256, allocations: 0 / 0.7401 GB, free: 14.14 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: 500 * Number of variables: 500 Notification: Performance of Generate backend data structure: time 0.005887/0.6315, allocations: 2.47 MB / 0.7425 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6316, allocations: 8.031 kB / 0.7425 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.6341, allocations: 468.7 kB / 0.7429 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.6379, allocations: 1.417 MB / 0.7443 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.6381, allocations: 147.9 kB / 0.7445 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.6385, allocations: 192 kB / 0.7446 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.6427, allocations: 2.328 MB / 0.7469 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.6427, allocations: 0 / 0.7469 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.6429, allocations: 83.98 kB / 0.747 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.792e-05/0.643, allocations: 83.83 kB / 0.7471 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/0.6477, allocations: 2.868 MB / 0.7499 GB, free: 3.934 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.6594, allocations: 7.011 MB / 0.7567 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.6631, allocations: 2.399 MB / 0.7591 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009954/0.6641, allocations: 0.8513 MB / 0.7599 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001965/0.6661, allocations: 1.282 MB / 0.7611 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=216): time 5.841e-06/0.6661, allocations: 4 kB / 0.7611 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=216): time 0.006617/0.6727, allocations: 3.379 MB / 0.7644 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.6729, allocations: 205.9 kB / 0.7646 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.6745, allocations: 1.205 MB / 0.7658 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.6747, allocations: 69.69 kB / 0.7659 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/0.6753, allocations: 0.7332 MB / 0.7666 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000614/0.676, allocations: 0.7085 MB / 0.7673 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.6761, allocations: 36 kB / 0.7673 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6762, allocations: 385.8 kB / 0.7677 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.6776, allocations: 0.816 MB / 0.7685 GB, free: 284 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.6792, allocations: 1.028 MB / 0.7695 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.6807, allocations: 0.9781 MB / 0.7704 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.6808, allocations: 0 / 0.7704 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004226/0.685, allocations: 2.3 MB / 0.7727 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.685, allocations: 4 kB / 0.7727 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.685, allocations: 4 kB / 0.7727 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.6857, allocations: 100.8 kB / 0.7728 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.6873, allocations: 387.4 kB / 0.7732 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.6894, allocations: 1.536 MB / 0.7747 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.6913, allocations: 247.1 kB / 0.7749 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.6915, allocations: 71.97 kB / 0.775 GB, free: 9.445 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.6926, allocations: 0.5247 MB / 0.7755 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.693, allocations: 181.8 kB / 0.7757 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.6981, allocations: 2.713 MB / 0.7783 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.6981, allocations: 20 kB / 0.7783 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.6981, allocations: 7.938 kB / 0.7783 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00384/0.702, allocations: 2.465 MB / 0.7807 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009141/0.7111, allocations: 5.604 MB / 0.7862 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.7112, allocations: 4 kB / 0.7862 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.7127, allocations: 376.1 kB / 0.7866 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006814/0.7134, allocations: 141.6 kB / 0.7867 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.7136, allocations: 63.97 kB / 0.7868 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.7165, allocations: 3.019 MB / 0.7897 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.7165, allocations: 15.89 kB / 0.7897 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006599/0.7231, allocations: 4.242 MB / 0.7939 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.7243, allocations: 0.5528 MB / 0.7944 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/0.7246, allocations: 55.98 kB / 0.7945 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.726, allocations: 156.4 kB / 0.7946 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.7262, allocations: 161.7 kB / 0.7948 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.7264, allocations: 83.91 kB / 0.7949 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001155/0.7276, allocations: 0.8376 MB / 0.7957 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7276, allocations: 4 kB / 0.7957 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001767/0.7294, allocations: 0.7136 MB / 0.7964 GB, free: 2.703 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (simpleZone.volRoom.dynBal.medium.Xi[1],simpleZone.volRoom.dynBal.U,simpleZone.volRoom.dynBal.m,simpleZone.door.mExcAB,simpleZone.door.mExcBA) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/0.7309, allocations: 0.7545 MB / 0.7971 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00376/0.7347, allocations: 2.23 MB / 0.7993 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.7347, allocations: 0 / 0.7993 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002338/0.737, allocations: 1.443 MB / 0.8007 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/0.7402, allocations: 0.6989 MB / 0.8014 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/0.7483, allocations: 5.44 MB / 0.8067 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.7494, allocations: 1.589 MB / 0.8082 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002265/0.7517, allocations: 0.6943 MB / 0.8089 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.7523, allocations: 183.4 kB / 0.8091 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.7523, allocations: 4 kB / 0.8091 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of Templates: time 0.3232/1.075, allocations: 32.44 MB / 0.8408 GB, free: 224.7 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.makefile (rm -f IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe ; mkfifo IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe >> ../files/IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.sim & ./IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe 2>&1)