Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.006111/0.006111, allocations: 101.3 kB / 15.73 MB, free: 6.062 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.001324/0.001324, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8251/0.8251, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 62.44 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 80.92 MB / 0.6641 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.5085/0.6517, allocations: 157.2 MB / 0.8177 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.6753, allocations: 21.99 MB / 0.8392 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.6777, allocations: 60.81 kB / 0.8392 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.6803, allocations: 2.15 MB / 0.8413 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.6826, allocations: 1.439 MB / 0.8427 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.6843, allocations: 0.5727 MB / 0.8433 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.6868, allocations: 1.835 MB / 0.8451 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.6883, allocations: 1.087 MB / 0.8461 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.6896, allocations: 0.8834 MB / 0.847 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.6915, allocations: 1.531 MB / 0.8485 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.6917, allocations: 94.44 kB / 0.8486 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.6921, allocations: 142.1 kB / 0.8487 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.6925, allocations: 0.5194 MB / 0.8492 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005813/0.693, allocations: 0.7669 MB / 0.85 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.6949, allocations: 1.87 MB / 0.8518 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6949, allocations: 0 / 0.8518 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.215e-06/0.6949, allocations: 0 / 0.8518 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.55e-05/0.695, allocations: 0 / 0.8518 GB, free: 15.17 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003485/0.6984, allocations: 2.357 MB / 0.8541 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6985, allocations: 13.11 kB / 0.8541 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.6986, allocations: 102.7 kB / 0.8542 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.6989, allocations: 243.4 kB / 0.8545 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.7002, allocations: 1.04 MB / 0.8555 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.7004, allocations: 87 kB / 0.8556 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7005, allocations: 64 kB / 0.8556 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.7018, allocations: 0.7251 MB / 0.8563 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.7018, allocations: 11.94 kB / 0.8563 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.7019, allocations: 27.98 kB / 0.8564 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.7019, allocations: 16 kB / 0.8564 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.7031, allocations: 0.5906 MB / 0.857 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004801/0.7079, allocations: 3.51 MB / 0.8604 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.7095, allocations: 0.7021 MB / 0.8611 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/0.7103, allocations: 418.8 kB / 0.8615 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.7103, allocations: 8.562 kB / 0.8615 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007949/0.7111, allocations: 434.8 kB / 0.8619 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.727e-06/0.7111, allocations: 0 / 0.8619 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.004384/0.7155, allocations: 1.809 MB / 0.8637 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.7156, allocations: 59.97 kB / 0.8637 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.7191, allocations: 3.301 MB / 0.8669 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.7193, allocations: 49.69 kB / 0.867 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007279/0.72, allocations: 0.8903 MB / 0.8679 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.7203, allocations: 238 kB / 0.8681 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.7205, allocations: 122.7 kB / 0.8682 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7207, allocations: 349.9 kB / 0.8685 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/0.7213, allocations: 301.8 kB / 0.8688 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.7221, allocations: 450.3 kB / 0.8692 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.7234, allocations: 0.7116 MB / 0.8699 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.7234, allocations: 4 kB / 0.8699 GB, free: 12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002473/0.7258, allocations: 1.217 MB / 0.8711 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.7259, allocations: 12.09 kB / 0.8711 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.7259, allocations: 4 kB / 0.8712 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007233/0.7266, allocations: 263.8 kB / 0.8714 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.7271, allocations: 135.8 kB / 0.8715 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.732, allocations: 4.758 MB / 0.8762 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.7329, allocations: 95.45 kB / 0.8763 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.733, allocations: 28 kB / 0.8763 GB, free: 5.215 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009479/0.7339, allocations: 0.603 MB / 0.8769 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.7342, allocations: 214.5 kB / 0.8771 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.7346, allocations: 248.5 kB / 0.8773 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.7346, allocations: 8.047 kB / 0.8773 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.174e-05/0.7347, allocations: 11.97 kB / 0.8773 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.7347, allocations: 7.938 kB / 0.8774 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.7383, allocations: 2.335 MB / 0.8796 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.7383, allocations: 0 / 0.8796 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.7386, allocations: 67.89 kB / 0.8797 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006019/0.7392, allocations: 253.5 kB / 0.8799 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.7393, allocations: 15.98 kB / 0.88 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/0.7439, allocations: 4.757 MB / 0.8846 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.7439, allocations: 0 / 0.8846 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.7467, allocations: 1.585 MB / 0.8861 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.7472, allocations: 323.5 kB / 0.8865 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.7474, allocations: 31.92 kB / 0.8865 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.7479, allocations: 31.97 kB / 0.8865 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.7481, allocations: 72.45 kB / 0.8866 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.7482, allocations: 31.98 kB / 0.8866 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002692/0.7509, allocations: 2.423 MB / 0.889 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7509, allocations: 3.938 kB / 0.889 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009466/0.7518, allocations: 291.6 kB / 0.8893 GB, free: 7.508 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.004136/0.756, allocations: 2.52 MB / 0.8917 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.758, allocations: 1.07 MB / 0.8928 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.758, allocations: 0 / 0.8928 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.7592, allocations: 0.682 MB / 0.8934 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.7607, allocations: 296.2 kB / 0.8937 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/0.7811, allocations: 13.79 MB / 0.9072 GB, free: 5.004 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.7823, allocations: 1.528 MB / 0.9087 GB, free: 3.441 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004433/0.7827, allocations: 150.3 kB / 0.9088 GB, free: 3.289 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/0.7835, allocations: 0.6984 MB / 0.9095 GB, free: 2.59 MB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/0.7835, allocations: 0 / 0.9095 GB, free: 2.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06718/0.8507, allocations: 32.95 MB / 0.9417 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.48, allocations: 10.56 kB / 0.9417 GB, free: 1.949 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)