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.00106/0.00106, allocations: 101 kB / 16.4 MB, free: 6.484 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.001017/0.001017, allocations: 192 kB / 17.34 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.746/0.746, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.34 kB / 0.5679 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1148, allocations: 77.93 MB / 0.644 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4266/0.5414, allocations: 156.7 MB / 0.7971 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.5605, allocations: 21.76 MB / 0.8183 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.5622, allocations: 58.97 kB / 0.8184 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.5636, allocations: 1.16 MB / 0.8195 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.5648, allocations: 0.869 MB / 0.8204 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009157/0.5657, allocations: 437.6 kB / 0.8208 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.5667, allocations: 1.267 MB / 0.822 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.5674, allocations: 0.6914 MB / 0.8227 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.5679, allocations: 0.5546 MB / 0.8232 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008738/0.5688, allocations: 0.9147 MB / 0.8241 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.654e-05/0.5689, allocations: 65.59 kB / 0.8242 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.5691, allocations: 107.9 kB / 0.8243 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.5694, allocations: 320.5 kB / 0.8246 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.5698, allocations: 487.8 kB / 0.8251 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.5708, allocations: 1.215 MB / 0.8263 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5708, allocations: 0 / 0.8263 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5708, allocations: 2.688 kB / 0.8263 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.5709, allocations: 0 / 0.8263 GB, free: 4.418 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.00215/0.573, allocations: 1.521 MB / 0.8277 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5731, allocations: 10.66 kB / 0.8278 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.953e-05/0.5732, allocations: 85.33 kB / 0.8278 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.5733, allocations: 143.3 kB / 0.828 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008475/0.5742, allocations: 0.675 MB / 0.8286 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.5743, allocations: 70.44 kB / 0.8287 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.5744, allocations: 50.33 kB / 0.8287 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/0.5753, allocations: 0.5187 MB / 0.8292 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5753, allocations: 3.938 kB / 0.8293 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.5754, allocations: 20.84 kB / 0.8293 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.5754, allocations: 10.09 kB / 0.8293 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.5762, allocations: 411 kB / 0.8297 GB, free: 1.914 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.003323/0.5796, allocations: 2.73 MB / 0.8323 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.5805, allocations: 446 kB / 0.8328 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006466/0.5812, allocations: 301.8 kB / 0.8331 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.5812, allocations: 16.97 kB / 0.8331 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/0.5818, allocations: 274.3 kB / 0.8333 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.5818, allocations: 3.938 kB / 0.8333 GB, free: 15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002589/0.5844, allocations: 1.153 MB / 0.8345 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5844, allocations: 56.56 kB / 0.8345 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.586, allocations: 1.762 MB / 0.8362 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.5861, allocations: 38.98 kB / 0.8363 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.5865, allocations: 0.5316 MB / 0.8368 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.5866, allocations: 146.6 kB / 0.8369 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.5868, allocations: 101.3 kB / 0.837 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5869, allocations: 330.5 kB / 0.8373 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.5873, allocations: 209.4 kB / 0.8375 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.5879, allocations: 341.8 kB / 0.8379 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008884/0.5888, allocations: 0.5166 MB / 0.8384 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5888, allocations: 7.875 kB / 0.8384 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001488/0.5903, allocations: 0.8184 MB / 0.8392 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5903, allocations: 12.31 kB / 0.8392 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5903, allocations: 2.406 kB / 0.8392 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.5907, allocations: 131 kB / 0.8393 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.5911, allocations: 107.6 kB / 0.8394 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/0.5938, allocations: 2.6 MB / 0.842 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.5943, allocations: 80.05 kB / 0.842 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.5943, allocations: 21.34 kB / 0.8421 GB, free: 8.906 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.0003992/0.5947, allocations: 390.9 kB / 0.8424 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.5948, allocations: 121.9 kB / 0.8425 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.5951, allocations: 146 kB / 0.8427 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5951, allocations: 5.344 kB / 0.8427 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5951, allocations: 2.562 kB / 0.8427 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.5951, allocations: 4 kB / 0.8427 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.5973, allocations: 1.489 MB / 0.8442 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5973, allocations: 4 kB / 0.8442 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.5976, allocations: 44.52 kB / 0.8442 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003815/0.598, allocations: 164.7 kB / 0.8444 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.598, allocations: 12.8 kB / 0.8444 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00355/0.6016, allocations: 4.028 MB / 0.8483 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6016, allocations: 0 / 0.8483 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.6033, allocations: 0.9899 MB / 0.8493 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.6036, allocations: 220.3 kB / 0.8495 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.6037, allocations: 15.94 kB / 0.8495 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.604, allocations: 23.97 kB / 0.8495 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.6041, allocations: 63.86 kB / 0.8496 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.6042, allocations: 19.94 kB / 0.8496 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001324/0.6055, allocations: 1.289 MB / 0.8509 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6055, allocations: 0 / 0.8509 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006478/0.6062, allocations: 199.7 kB / 0.851 GB, free: 468 kB / 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.003013/0.6092, allocations: 1.919 MB / 0.8529 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.6105, allocations: 0.6707 MB / 0.8536 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6105, allocations: 0 / 0.8536 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008115/0.6114, allocations: 0.5229 MB / 0.8541 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.6124, allocations: 203 kB / 0.8543 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.6236, allocations: 8.543 MB / 0.8626 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.6243, allocations: 1.157 MB / 0.8638 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.6246, allocations: 96.78 kB / 0.8638 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.625, allocations: 399.3 kB / 0.8642 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.6251, allocations: 0 / 0.8642 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04445/0.6695, allocations: 20.85 MB / 0.8846 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.59, allocations: 7.812 kB / 0.8846 GB, free: 14.25 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_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_TestCase1.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)