Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001863/0.001863, allocations: 102.4 kB / 15.98 MB, free: 5.863 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.001923/0.001923, allocations: 196.6 kB / 16.91 MB, free: 5.727 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7484/0.7484, allocations: 115.3 MB / 406.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.505, allocations: 76.18 MB / 0.556 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2286/0.7337, allocations: 154.6 MB / 0.707 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03329/0.767, allocations: 21.5 MB / 0.728 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.77, allocations: 51.69 kB / 0.728 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.7721, allocations: 1.119 MB / 0.7291 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.7742, allocations: 0.8177 MB / 0.7299 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.7758, allocations: 394.2 kB / 0.7303 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.778, allocations: 1.259 MB / 0.7315 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.7794, allocations: 0.6814 MB / 0.7322 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.7807, allocations: 0.5607 MB / 0.7327 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.7823, allocations: 0.9528 MB / 0.7336 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.7825, allocations: 68 kB / 0.7337 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.783, allocations: 108 kB / 0.7338 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.7834, allocations: 332.7 kB / 0.7341 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007914/0.7842, allocations: 492.8 kB / 0.7346 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.7859, allocations: 1.187 MB / 0.7358 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7859, allocations: 0 / 0.7358 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7859, allocations: 0 / 0.7358 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.865e-05/0.786, allocations: 0 / 0.7358 GB, free: 11.98 MB / 0.5762 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.003648/0.7896, allocations: 1.483 MB / 0.7372 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.7897, allocations: 8.031 kB / 0.7372 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.7899, allocations: 86.7 kB / 0.7373 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.7902, allocations: 135.2 kB / 0.7374 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.7913, allocations: 0.6549 MB / 0.7381 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.7915, allocations: 74.62 kB / 0.7381 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.7916, allocations: 51.94 kB / 0.7382 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.7926, allocations: 0.5184 MB / 0.7387 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.7927, allocations: 0 / 0.7387 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.7927, allocations: 16 kB / 0.7387 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.7927, allocations: 8 kB / 0.7387 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009292/0.7937, allocations: 419.7 kB / 0.7391 GB, free: 8.406 MB / 0.5762 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.004067/0.7978, allocations: 2.731 MB / 0.7418 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.7988, allocations: 454.3 kB / 0.7422 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.7994, allocations: 314.1 kB / 0.7425 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.7995, allocations: 4.656 kB / 0.7425 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.8001, allocations: 275.1 kB / 0.7428 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.135e-06/0.8001, allocations: 0 / 0.7428 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002754/0.8028, allocations: 1.151 MB / 0.7439 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.8029, allocations: 59.41 kB / 0.744 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.8051, allocations: 1.76 MB / 0.7457 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.8052, allocations: 41.7 kB / 0.7457 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.8057, allocations: 0.5249 MB / 0.7462 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.8059, allocations: 142 kB / 0.7464 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.8061, allocations: 106.2 kB / 0.7465 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8062, allocations: 322 kB / 0.7468 GB, free: 212 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.8067, allocations: 209 kB / 0.747 GB, free: 4 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4333/1.24, allocations: 334.7 kB / 0.7473 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.241, allocations: 0.5212 MB / 0.7478 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.241, allocations: 1.062 kB / 0.7478 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002083/1.243, allocations: 0.8046 MB / 0.7486 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/1.243, allocations: 7.656 kB / 0.7486 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.243, allocations: 3.984 kB / 0.7486 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/1.244, allocations: 147.6 kB / 0.7487 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/1.244, allocations: 102.9 kB / 0.7488 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/1.247, allocations: 2.604 MB / 0.7514 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/1.248, allocations: 83.25 kB / 0.7515 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/1.248, allocations: 20.89 kB / 0.7515 GB, free: 173.2 MB / 0.5762 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.0007644/1.249, allocations: 393.2 kB / 0.7519 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/1.249, allocations: 116.9 kB / 0.752 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/1.249, allocations: 143.6 kB / 0.7521 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.249, allocations: 4.125 kB / 0.7521 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/1.249, allocations: 3.688 kB / 0.7521 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.249, allocations: 4.234 kB / 0.7521 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/1.252, allocations: 1.486 MB / 0.7536 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.252, allocations: 7.797 kB / 0.7536 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/1.253, allocations: 40.47 kB / 0.7536 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/1.253, allocations: 163.8 kB / 0.7538 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/1.253, allocations: 16.17 kB / 0.7538 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/1.257, allocations: 4.025 MB / 0.7577 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.257, allocations: 0.9688 kB / 0.7577 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/1.259, allocations: 0.9823 MB / 0.7587 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/1.259, allocations: 218.5 kB / 0.7589 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/1.259, allocations: 14.84 kB / 0.7589 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/1.26, allocations: 36.88 kB / 0.7589 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.26, allocations: 54.84 kB / 0.759 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/1.26, allocations: 13.67 kB / 0.759 GB, free: 168 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001955/1.262, allocations: 1.287 MB / 0.7603 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/1.262, allocations: 3.062 kB / 0.7603 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009978/1.263, allocations: 203.9 kB / 0.7605 GB, free: 167.5 MB / 0.5762 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.003344/1.266, allocations: 1.915 MB / 0.7623 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001842/1.268, allocations: 0.7006 MB / 0.763 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.268, allocations: 0.5938 kB / 0.763 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009267/1.269, allocations: 0.5166 MB / 0.7635 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/1.27, allocations: 204.9 kB / 0.7637 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.287, allocations: 9.337 MB / 0.7728 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009226/1.288, allocations: 1.153 MB / 0.774 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000469/1.288, allocations: 102.7 kB / 0.7741 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/1.289, allocations: 407.3 kB / 0.7744 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/1.289, allocations: 1.781 kB / 0.7744 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05053/1.339, allocations: 20.15 MB / 0.7941 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/1.34, allocations: 275.7 kB / 0.7944 GB, free: 148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/3.561, allocations: 4.062 kB / 0.7944 GB, free: 148 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)