Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.00161/0.00161, allocations: 103.5 kB / 16.4 MB, free: 6.457 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.001663/0.001663, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.813/0.813, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 65.36 kB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1288, allocations: 78.86 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4523/0.5811, allocations: 156.8 MB / 0.8036 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0216/0.6027, allocations: 21.76 MB / 0.8249 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.6045, allocations: 54.81 kB / 0.8249 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.606, allocations: 1.158 MB / 0.8261 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.6073, allocations: 0.8514 MB / 0.8269 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.6084, allocations: 445.7 kB / 0.8273 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.6096, allocations: 1.26 MB / 0.8285 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007409/0.6103, allocations: 0.6863 MB / 0.8292 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.6109, allocations: 0.554 MB / 0.8298 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009068/0.6118, allocations: 0.9145 MB / 0.8306 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.73e-05/0.6119, allocations: 65.88 kB / 0.8307 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.6121, allocations: 110.6 kB / 0.8308 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.6124, allocations: 318.7 kB / 0.8311 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004243/0.6128, allocations: 493.8 kB / 0.8316 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.614, allocations: 1.211 MB / 0.8328 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.614, allocations: 0 / 0.8328 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.614, allocations: 0 / 0.8328 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.6141, allocations: 0 / 0.8328 GB, free: 2.34 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.002236/0.6163, allocations: 1.521 MB / 0.8343 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.6163, allocations: 10.12 kB / 0.8343 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.884e-05/0.6165, allocations: 86.89 kB / 0.8344 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.6166, allocations: 141.8 kB / 0.8345 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/0.6175, allocations: 0.6676 MB / 0.8351 GB, free: 456 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.6176, allocations: 77.95 kB / 0.8352 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.6177, allocations: 42.28 kB / 0.8353 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/0.6187, allocations: 0.5188 MB / 0.8358 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.6187, allocations: 7.938 kB / 0.8358 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.6188, allocations: 16.44 kB / 0.8358 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.6188, allocations: 10.38 kB / 0.8358 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.6196, allocations: 414.5 kB / 0.8362 GB, free: 15.84 MB / 0.6075 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.003608/0.6233, allocations: 2.796 MB / 0.8389 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.6243, allocations: 471 kB / 0.8394 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.6248, allocations: 281.2 kB / 0.8396 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.6249, allocations: 12.53 kB / 0.8396 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005599/0.6255, allocations: 294.2 kB / 0.8399 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/0.6255, allocations: 0 / 0.8399 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002976/0.6285, allocations: 1.24 MB / 0.8411 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.6285, allocations: 63.89 kB / 0.8412 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.6303, allocations: 1.749 MB / 0.8429 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.6304, allocations: 46.48 kB / 0.843 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.6308, allocations: 0.522 MB / 0.8435 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.631, allocations: 149.7 kB / 0.8436 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.6311, allocations: 94.88 kB / 0.8437 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6313, allocations: 330.8 kB / 0.844 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.6318, allocations: 218 kB / 0.8442 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.6323, allocations: 328 kB / 0.8445 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.6333, allocations: 0.5119 MB / 0.845 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6333, allocations: 1.906 kB / 0.845 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001647/0.6349, allocations: 0.8436 MB / 0.8459 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.635, allocations: 10.91 kB / 0.8459 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.635, allocations: 10.78 kB / 0.8459 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.6355, allocations: 182.2 kB / 0.8461 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.6359, allocations: 91.53 kB / 0.8461 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/0.6396, allocations: 3.002 MB / 0.8491 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.6401, allocations: 75.69 kB / 0.8491 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.6402, allocations: 20 kB / 0.8492 GB, free: 6.223 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005415/0.6407, allocations: 388.2 kB / 0.8495 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.6409, allocations: 123.2 kB / 0.8497 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.6411, allocations: 143.6 kB / 0.8498 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6411, allocations: 4 kB / 0.8498 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.6411, allocations: 8 kB / 0.8498 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.6412, allocations: 3.984 kB / 0.8498 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.6438, allocations: 1.56 MB / 0.8513 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.6438, allocations: 3.984 kB / 0.8513 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.6441, allocations: 51.84 kB / 0.8514 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.6446, allocations: 197.6 kB / 0.8516 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.6447, allocations: 11.98 kB / 0.8516 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00489/0.6495, allocations: 4.561 MB / 0.856 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6496, allocations: 144 / 0.856 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.6516, allocations: 1.067 MB / 0.8571 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.6519, allocations: 220.2 kB / 0.8573 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.652, allocations: 12 kB / 0.8573 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.6523, allocations: 31.97 kB / 0.8573 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.6525, allocations: 55.86 kB / 0.8574 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.6525, allocations: 19.98 kB / 0.8574 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001543/0.6541, allocations: 1.277 MB / 0.8586 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6541, allocations: 0 / 0.8586 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000772/0.6549, allocations: 207.7 kB / 0.8588 GB, free: 11.93 MB / 0.6231 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,13,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.003919/0.6588, allocations: 1.987 MB / 0.8608 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.6604, allocations: 0.7228 MB / 0.8615 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6604, allocations: 0 / 0.8615 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.6614, allocations: 0.5591 MB / 0.862 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.6624, allocations: 199 kB / 0.8622 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.675, allocations: 8.615 MB / 0.8706 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/0.6759, allocations: 1.157 MB / 0.8718 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.6762, allocations: 92.72 kB / 0.8719 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.6767, allocations: 407.3 kB / 0.8722 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.6767, allocations: 0 / 0.8722 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05555/0.7322, allocations: 21.23 MB / 0.893 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.28, allocations: 3.938 kB / 0.893 GB, free: 9.152 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)