Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_IDEAS_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.006501/0.0065, allocations: 98.39 kB / 15.73 MB, free: 6.43 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.001455/0.001454, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.812/0.812, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 71.33 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1733, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1931/0.3665, allocations: 156.7 MB / 0.8122 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4683/0.8348, allocations: 21.71 MB / 0.8334 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.8373, allocations: 59.38 kB / 0.8335 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.8392, allocations: 1.167 MB / 0.8346 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.841, allocations: 0.8601 MB / 0.8355 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.8423, allocations: 442.3 kB / 0.8359 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.844, allocations: 1.259 MB / 0.8371 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.845, allocations: 0.6859 MB / 0.8378 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009893/0.846, allocations: 0.5533 MB / 0.8383 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.8473, allocations: 0.915 MB / 0.8392 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.8474, allocations: 64.41 kB / 0.8393 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.8478, allocations: 109.2 kB / 0.8394 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.8481, allocations: 318 kB / 0.8397 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.8486, allocations: 495.1 kB / 0.8402 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.8499, allocations: 1.207 MB / 0.8413 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8499, allocations: 0 / 0.8413 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8499, allocations: 1.062 kB / 0.8413 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.85, allocations: 3.25 kB / 0.8413 GB, free: 2.379 MB / 0.6387 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.002135/0.8521, allocations: 1.517 MB / 0.8428 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.8522, allocations: 8.031 kB / 0.8428 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.751e-05/0.8523, allocations: 85.92 kB / 0.8429 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.8524, allocations: 144.8 kB / 0.843 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007185/0.8532, allocations: 0.6723 MB / 0.8437 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.8533, allocations: 71.05 kB / 0.8438 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.8534, allocations: 61.39 kB / 0.8438 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008315/0.8542, allocations: 0.5123 MB / 0.8443 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.8542, allocations: 3.625 kB / 0.8443 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.8543, allocations: 20.75 kB / 0.8444 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8543, allocations: 10.66 kB / 0.8444 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.855, allocations: 417.3 kB / 0.8448 GB, free: 0.8555 MB / 0.6387 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.003219/0.8583, allocations: 2.722 MB / 0.8474 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/0.8592, allocations: 443.6 kB / 0.8478 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006019/0.8598, allocations: 309.7 kB / 0.8481 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.8599, allocations: 6.078 kB / 0.8481 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005014/0.8604, allocations: 280.4 kB / 0.8484 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 3.016e-06/0.8604, allocations: 0 / 0.8484 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.002673/0.8631, allocations: 1.154 MB / 0.8495 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.8631, allocations: 60.59 kB / 0.8496 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.865, allocations: 1.767 MB / 0.8513 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.865, allocations: 36.33 kB / 0.8514 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.8654, allocations: 0.5241 MB / 0.8519 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.8656, allocations: 154.7 kB / 0.852 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.8657, allocations: 106 kB / 0.8521 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8659, allocations: 336.9 kB / 0.8524 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.8663, allocations: 212.6 kB / 0.8526 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.8669, allocations: 337.6 kB / 0.853 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.8677, allocations: 0.5159 MB / 0.8535 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.8677, allocations: 4.688 kB / 0.8535 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001535/0.8693, allocations: 0.8158 MB / 0.8543 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.8693, allocations: 6.188 kB / 0.8543 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.8693, allocations: 7.5 kB / 0.8543 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.8697, allocations: 128.7 kB / 0.8544 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.8701, allocations: 102.9 kB / 0.8545 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.8728, allocations: 2.615 MB / 0.8571 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.8735, allocations: 74.25 kB / 0.8571 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.8735, allocations: 19.12 kB / 0.8571 GB, free: 12.24 MB / 0.6544 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.0005941/0.8741, allocations: 390.4 kB / 0.8575 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.8743, allocations: 128 kB / 0.8576 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.8745, allocations: 139.5 kB / 0.8578 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.8745, allocations: 6.469 kB / 0.8578 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.8746, allocations: 2.625 kB / 0.8578 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.8746, allocations: 2.906 kB / 0.8578 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.8768, allocations: 1.492 MB / 0.8592 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.8768, allocations: 0 / 0.8592 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.877, allocations: 45.53 kB / 0.8593 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003743/0.8774, allocations: 163.4 kB / 0.8594 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.8774, allocations: 15.28 kB / 0.8595 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/0.8813, allocations: 4.033 MB / 0.8634 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8813, allocations: 3.938 kB / 0.8634 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.8831, allocations: 0.9848 MB / 0.8644 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.8834, allocations: 221.4 kB / 0.8646 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.673e-05/0.8835, allocations: 13.95 kB / 0.8646 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.8838, allocations: 25.86 kB / 0.8646 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.884, allocations: 57.92 kB / 0.8647 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.8841, allocations: 20.22 kB / 0.8647 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00147/0.8855, allocations: 1.289 MB / 0.8659 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8855, allocations: 0 / 0.8659 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007801/0.8863, allocations: 201 kB / 0.8661 GB, free: 8.246 MB / 0.6544 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.003608/0.8899, allocations: 1.901 MB / 0.868 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.8915, allocations: 0.6594 MB / 0.8686 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.8915, allocations: 0 / 0.8686 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009006/0.8924, allocations: 0.5312 MB / 0.8692 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.8937, allocations: 210.6 kB / 0.8694 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.9065, allocations: 8.544 MB / 0.8777 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.9073, allocations: 1.148 MB / 0.8788 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003566/0.9077, allocations: 101.5 kB / 0.8789 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.9081, allocations: 406.4 kB / 0.8793 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/0.9081, allocations: 0 / 0.8793 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05857/0.9666, allocations: 20.85 MB / 0.8997 GB, free: 7.598 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.44, allocations: 8.516 kB / 0.8997 GB, free: 7.594 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)