Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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: "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 102.9 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7856/0.7856, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 73.55 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1676, allocations: 76.17 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.6557/0.8234, allocations: 156.7 MB / 0.7846 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03005/0.8535, allocations: 21.76 MB / 0.8059 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/0.8569, allocations: 51.03 kB / 0.8059 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.8589, allocations: 1.16 MB / 0.807 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.861, allocations: 0.846 MB / 0.8079 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.8627, allocations: 456.4 kB / 0.8083 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.8649, allocations: 1.258 MB / 0.8095 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.8663, allocations: 0.6914 MB / 0.8102 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.8676, allocations: 0.5618 MB / 0.8107 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.8691, allocations: 0.9179 MB / 0.8116 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.8694, allocations: 69.31 kB / 0.8117 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.8699, allocations: 106.6 kB / 0.8118 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.8703, allocations: 314.1 kB / 0.8121 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.8709, allocations: 493.8 kB / 0.8126 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.8728, allocations: 1.199 MB / 0.8138 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8728, allocations: 2.344 kB / 0.8138 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8729, allocations: 0 / 0.8138 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.219e-05/0.8729, allocations: 0 / 0.8138 GB, free: 8.406 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003049/0.876, allocations: 1.482 MB / 0.8152 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.876, allocations: 7.688 kB / 0.8152 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.8762, allocations: 81.66 kB / 0.8153 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.8764, allocations: 138.4 kB / 0.8154 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.8776, allocations: 0.6597 MB / 0.8161 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.8778, allocations: 76.34 kB / 0.8161 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.8779, allocations: 47.91 kB / 0.8162 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.8789, allocations: 0.5193 MB / 0.8167 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.879, allocations: 0 / 0.8167 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.879, allocations: 20.7 kB / 0.8167 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.879, allocations: 10.41 kB / 0.8167 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008933/0.8799, allocations: 419.3 kB / 0.8171 GB, free: 5.961 MB / 0.5919 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.004397/0.8844, allocations: 2.714 MB / 0.8198 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.8854, allocations: 454.4 kB / 0.8202 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.886, allocations: 315.1 kB / 0.8205 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/0.8861, allocations: 5.625 kB / 0.8205 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/0.8867, allocations: 286.3 kB / 0.8208 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.8867, allocations: 0 / 0.8208 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.00301/0.8897, allocations: 1.139 MB / 0.8219 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.8898, allocations: 64.7 kB / 0.822 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.8923, allocations: 1.761 MB / 0.8237 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.8925, allocations: 36.45 kB / 0.8237 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.893, allocations: 0.5337 MB / 0.8242 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.8932, allocations: 143.8 kB / 0.8244 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.8934, allocations: 102.5 kB / 0.8245 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8935, allocations: 331.1 kB / 0.8248 GB, free: 488 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.894, allocations: 207.1 kB / 0.825 GB, free: 392 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.8946, allocations: 339.6 kB / 0.8253 GB, free: 132 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.8955, allocations: 0.5143 MB / 0.8258 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8955, allocations: 3.75 kB / 0.8258 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001876/0.8974, allocations: 0.8074 MB / 0.8266 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.8974, allocations: 7.344 kB / 0.8266 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.8975, allocations: 2.719 kB / 0.8266 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.898, allocations: 141.6 kB / 0.8267 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.8984, allocations: 104 kB / 0.8268 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.9015, allocations: 2.587 MB / 0.8294 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/0.9023, allocations: 81.33 kB / 0.8294 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.9023, allocations: 22.12 kB / 0.8295 GB, free: 12.99 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007611/0.9031, allocations: 384.5 kB / 0.8298 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.9034, allocations: 114.7 kB / 0.8299 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.9037, allocations: 144.4 kB / 0.8301 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.9037, allocations: 9.219 kB / 0.8301 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.9037, allocations: 2.406 kB / 0.8301 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.9037, allocations: 3.984 kB / 0.8301 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.9065, allocations: 1.488 MB / 0.8315 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9066, allocations: 1.875 kB / 0.8315 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.9068, allocations: 53.08 kB / 0.8316 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.9072, allocations: 160.9 kB / 0.8318 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.9073, allocations: 12.95 kB / 0.8318 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/0.9113, allocations: 4.022 MB / 0.8357 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9113, allocations: 0 / 0.8357 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.9133, allocations: 0.9922 MB / 0.8367 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.9138, allocations: 213.5 kB / 0.8369 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.9139, allocations: 13.28 kB / 0.8369 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.9142, allocations: 32.39 kB / 0.8369 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.9144, allocations: 53.12 kB / 0.837 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.9145, allocations: 18.02 kB / 0.837 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001614/0.9161, allocations: 1.284 MB / 0.8382 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9161, allocations: 0 / 0.8382 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001008/0.9171, allocations: 198.5 kB / 0.8384 GB, free: 6.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003322/0.9205, allocations: 1.917 MB / 0.8403 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.9221, allocations: 0.6634 MB / 0.8409 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9221, allocations: 0 / 0.8409 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009113/0.923, allocations: 0.521 MB / 0.8414 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.9243, allocations: 212.7 kB / 0.8417 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.9385, allocations: 8.502 MB / 0.85 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008483/0.9394, allocations: 1.149 MB / 0.8511 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004404/0.9398, allocations: 100.8 kB / 0.8512 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.9403, allocations: 407.3 kB / 0.8516 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.9404, allocations: 0 / 0.8516 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06052/1.001, allocations: 21.18 MB / 0.8722 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.25, allocations: 14.39 kB / 0.8723 GB, free: 4.207 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)