Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.00837/0.00837, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.002275/0.002275, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.89 kB / 1.065 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7228, allocations: 159.1 MB / 1.22 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1831/0.9059, allocations: 157.9 MB / 1.374 GB, free: 3.637 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02938/0.9353, allocations: 22.14 MB / 1.396 GB, free: 13.43 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.9371, allocations: 59.69 kB / 1.396 GB, free: 13.37 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.9393, allocations: 1.383 MB / 1.397 GB, free: 11.98 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.9413, allocations: 1.012 MB / 1.398 GB, free: 10.97 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.9431, allocations: 0.6555 MB / 1.399 GB, free: 10.32 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002285/0.9454, allocations: 1.692 MB / 1.401 GB, free: 8.617 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.947, allocations: 0.9628 MB / 1.402 GB, free: 7.629 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.9484, allocations: 0.7359 MB / 1.402 GB, free: 6.891 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.9501, allocations: 1.188 MB / 1.403 GB, free: 5.703 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.9504, allocations: 95.98 kB / 1.404 GB, free: 5.609 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.9508, allocations: 144 kB / 1.404 GB, free: 5.469 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004516/0.9513, allocations: 412.3 kB / 1.404 GB, free: 5.066 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008228/0.9521, allocations: 0.6558 MB / 1.405 GB, free: 4.406 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.9542, allocations: 1.613 MB / 1.406 GB, free: 2.789 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9542, allocations: 4 kB / 1.406 GB, free: 2.785 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9542, allocations: 0 / 1.406 GB, free: 2.785 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.9543, allocations: 0 / 1.406 GB, free: 2.785 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003207/0.9575, allocations: 1.968 MB / 1.408 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.9575, allocations: 8.031 kB / 1.408 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.9577, allocations: 106.7 kB / 1.408 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.958, allocations: 203.6 kB / 1.409 GB, free: 444 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.9593, allocations: 0.9036 MB / 1.409 GB, free: 15.48 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.9595, allocations: 87 kB / 1.409 GB, free: 15.39 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.9596, allocations: 68 kB / 1.41 GB, free: 15.33 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.961, allocations: 0.7137 MB / 1.41 GB, free: 14.59 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.961, allocations: 11.95 kB / 1.41 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.9611, allocations: 24 kB / 1.41 GB, free: 14.55 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.9611, allocations: 16 kB / 1.41 GB, free: 14.54 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.9624, allocations: 0.5399 MB / 1.411 GB, free: 13.99 MB / 1.139 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.004983/0.9674, allocations: 3.61 MB / 1.414 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.9689, allocations: 0.617 MB / 1.415 GB, free: 9.469 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008232/0.9697, allocations: 374.3 kB / 1.415 GB, free: 9.102 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.9698, allocations: 12.55 kB / 1.415 GB, free: 9.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008018/0.9706, allocations: 382.9 kB / 1.416 GB, free: 8.707 MB / 1.139 GB Notification: Performance of pre-optimization done (n=65): time 2.464e-06/0.9706, allocations: 3.938 kB / 1.416 GB, free: 8.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=65): time 0.005365/0.9759, allocations: 1.778 MB / 1.417 GB, free: 6.875 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.976, allocations: 79.83 kB / 1.417 GB, free: 6.785 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.9787, allocations: 2.251 MB / 1.42 GB, free: 4.527 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.9787, allocations: 41.7 kB / 1.42 GB, free: 4.48 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006869/0.9794, allocations: 0.727 MB / 1.42 GB, free: 3.75 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.9796, allocations: 214.1 kB / 1.421 GB, free: 3.539 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.9799, allocations: 130.7 kB / 1.421 GB, free: 3.406 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.98, allocations: 341.9 kB / 1.421 GB, free: 3.066 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.9807, allocations: 273.8 kB / 1.421 GB, free: 2.797 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008096/0.9815, allocations: 420.8 kB / 1.422 GB, free: 2.336 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.9829, allocations: 0.669 MB / 1.422 GB, free: 1.617 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.983, allocations: 0 / 1.422 GB, free: 1.617 MB / 1.139 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00256/0.9855, allocations: 1.123 MB / 1.424 GB, free: 496 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9856, allocations: 8 kB / 1.424 GB, free: 488 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.9856, allocations: 4 kB / 1.424 GB, free: 484 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000874/0.9864, allocations: 273.5 kB / 1.424 GB, free: 208 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.9869, allocations: 127.8 kB / 1.424 GB, free: 80 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/0.9929, allocations: 3.701 MB / 1.428 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.9934, allocations: 91.53 kB / 1.428 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.9935, allocations: 28 kB / 1.428 GB, free: 12.13 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006289/0.9941, allocations: 459.8 kB / 1.428 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.9943, allocations: 166.9 kB / 1.428 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.9946, allocations: 187.7 kB / 1.428 GB, free: 11.32 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.9947, allocations: 8 kB / 1.428 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.9947, allocations: 7.938 kB / 1.428 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/0.9947, allocations: 3.984 kB / 1.428 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.9985, allocations: 2.042 MB / 1.43 GB, free: 9.188 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9985, allocations: 3.938 kB / 1.43 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.9988, allocations: 63.89 kB / 1.43 GB, free: 9.121 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008321/0.9996, allocations: 271.8 kB / 1.431 GB, free: 8.852 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.9997, allocations: 15.98 kB / 1.431 GB, free: 8.836 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006773/1.006, allocations: 5.249 MB / 1.436 GB, free: 3.309 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.006, allocations: 0 / 1.436 GB, free: 3.309 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/1.009, allocations: 1.403 MB / 1.437 GB, free: 1.887 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/1.01, allocations: 279.8 kB / 1.438 GB, free: 1.594 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.01, allocations: 19.98 kB / 1.438 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/1.01, allocations: 39.91 kB / 1.438 GB, free: 1.535 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.011, allocations: 64.59 kB / 1.438 GB, free: 1.473 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/1.011, allocations: 27.98 kB / 1.438 GB, free: 1.445 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002005/1.013, allocations: 1.635 MB / 1.439 GB, free: 15.82 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.31e-07/1.013, allocations: 0 / 1.439 GB, free: 15.82 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009187/1.014, allocations: 263.7 kB / 1.44 GB, free: 15.56 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005025/1.019, allocations: 2.353 MB / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002096/1.021, allocations: 0.9093 MB / 1.443 GB, free: 12.45 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.021, allocations: 4.062 kB / 1.443 GB, free: 12.44 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/1.022, allocations: 0.6748 MB / 1.443 GB, free: 11.74 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.023, allocations: 280.5 kB / 1.444 GB, free: 11.47 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.042, allocations: 11.04 MB / 1.454 GB, free: 148 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.043, allocations: 1.318 MB / 1.456 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000444/1.043, allocations: 114.4 kB / 1.456 GB, free: 14.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006948/1.044, allocations: 0.5383 MB / 1.456 GB, free: 14.14 MB / 1.186 GB Notification: Performance of SimCode: time 7.41e-07/1.044, allocations: 0 / 1.456 GB, free: 14.14 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07163/1.116, allocations: 29.21 MB / 1.485 GB, free: 1.293 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.19, allocations: 2.062 kB / 1.485 GB, free: 1.293 MB / 1.201 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)