Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.008864/0.008864, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001514/0.001514, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7771/0.7771, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.55 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1625, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1652/0.3278, allocations: 156.7 MB / 0.8122 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.413/0.7409, allocations: 21.72 MB / 0.8334 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.7434, allocations: 53.16 kB / 0.8335 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.7453, allocations: 1.164 MB / 0.8346 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.7471, allocations: 0.8693 MB / 0.8355 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.7485, allocations: 444.3 kB / 0.8359 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.7501, allocations: 1.255 MB / 0.8371 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.751, allocations: 0.6891 MB / 0.8378 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009215/0.7519, allocations: 0.5585 MB / 0.8383 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.7531, allocations: 0.9165 MB / 0.8392 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.7532, allocations: 66.38 kB / 0.8393 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.7536, allocations: 107.6 kB / 0.8394 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.7539, allocations: 318.9 kB / 0.8397 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.7545, allocations: 496.2 kB / 0.8402 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.7559, allocations: 1.202 MB / 0.8414 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.756, allocations: 3.797 kB / 0.8414 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.756, allocations: 3.938 kB / 0.8414 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.756, allocations: 0.9688 kB / 0.8414 GB, free: 2.363 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.002303/0.7583, allocations: 1.52 MB / 0.8428 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.7584, allocations: 7.656 kB / 0.8429 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.219e-05/0.7585, allocations: 90.39 kB / 0.8429 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.7586, allocations: 141.3 kB / 0.8431 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008621/0.7595, allocations: 0.6695 MB / 0.8437 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.7596, allocations: 70.7 kB / 0.8438 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.7597, allocations: 53.62 kB / 0.8438 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008868/0.7606, allocations: 0.5187 MB / 0.8444 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.7607, allocations: 3.625 kB / 0.8444 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.7607, allocations: 16.31 kB / 0.8444 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.7607, allocations: 10.66 kB / 0.8444 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.7615, allocations: 421.4 kB / 0.8448 GB, free: 0.8477 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.003379/0.7649, allocations: 2.788 MB / 0.8475 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.7659, allocations: 452.8 kB / 0.8479 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.7664, allocations: 292.5 kB / 0.8482 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.7664, allocations: 11.77 kB / 0.8482 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005085/0.767, allocations: 302.2 kB / 0.8485 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/0.767, allocations: 0.9062 kB / 0.8485 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002803/0.7698, allocations: 1.244 MB / 0.8497 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.7699, allocations: 60.84 kB / 0.8498 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.7715, allocations: 1.753 MB / 0.8515 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.7715, allocations: 41.73 kB / 0.8515 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.7719, allocations: 0.5186 MB / 0.8521 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.772, allocations: 151.7 kB / 0.8522 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.7722, allocations: 96.22 kB / 0.8523 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7723, allocations: 325.5 kB / 0.8526 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.7727, allocations: 221.2 kB / 0.8528 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.7732, allocations: 328.8 kB / 0.8531 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008171/0.774, allocations: 0.5111 MB / 0.8536 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7741, allocations: 0.875 kB / 0.8536 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001454/0.7755, allocations: 0.8493 MB / 0.8545 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7755, allocations: 5.781 kB / 0.8545 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7756, allocations: 3.531 kB / 0.8545 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004771/0.776, allocations: 189.5 kB / 0.8546 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.7764, allocations: 97.38 kB / 0.8547 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.7795, allocations: 3.007 MB / 0.8577 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.78, allocations: 76.67 kB / 0.8577 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.7801, allocations: 18.78 kB / 0.8578 GB, free: 12.2 MB / 0.6544 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.0004992/0.7806, allocations: 388.9 kB / 0.8581 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.7807, allocations: 124.8 kB / 0.8583 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.7809, allocations: 140.3 kB / 0.8584 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7809, allocations: 2.344 kB / 0.8584 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.781, allocations: 5.531 kB / 0.8584 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.781, allocations: 2.953 kB / 0.8584 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.7832, allocations: 1.567 MB / 0.8599 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7832, allocations: 1 kB / 0.8599 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.7834, allocations: 47.75 kB / 0.86 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.7838, allocations: 191 kB / 0.8602 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.7839, allocations: 13.91 kB / 0.8602 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.7879, allocations: 4.555 MB / 0.8646 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7879, allocations: 4.844 kB / 0.8646 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.7896, allocations: 1.062 MB / 0.8657 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.7899, allocations: 227.7 kB / 0.8659 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.79, allocations: 9.344 kB / 0.8659 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.7903, allocations: 30.16 kB / 0.8659 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.7904, allocations: 54.94 kB / 0.866 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.7905, allocations: 17.92 kB / 0.866 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001157/0.7916, allocations: 1.277 MB / 0.8672 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7916, allocations: 0 / 0.8672 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007408/0.7924, allocations: 206.4 kB / 0.8674 GB, free: 8.07 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,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.002957/0.7953, allocations: 1.991 MB / 0.8694 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.7968, allocations: 0.7269 MB / 0.8701 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7968, allocations: 0.9375 kB / 0.8701 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.7976, allocations: 0.5509 MB / 0.8706 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.7987, allocations: 203.6 kB / 0.8708 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.8097, allocations: 8.614 MB / 0.8792 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.8104, allocations: 1.149 MB / 0.8803 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002802/0.8107, allocations: 85.44 kB / 0.8804 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.8111, allocations: 402.9 kB / 0.8808 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.8111, allocations: 4 kB / 0.8808 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.8601, allocations: 21.23 MB / 0.9016 GB, free: 6.109 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.23, allocations: 10.97 kB / 0.9016 GB, free: 6.105 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_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_TestCase4.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)