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.009334/0.009334, allocations: 106 kB / 15.74 MB, free: 6.02 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.002352/0.002352, allocations: 193.5 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.511/1.511, 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/package.mo): time 0.851/0.851, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 68.19 kB / 0.5808 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5172/0.6767, allocations: 156.7 MB / 0.8122 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.7035, allocations: 21.74 MB / 0.8334 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/0.7063, allocations: 54.75 kB / 0.8335 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.7083, allocations: 1.155 MB / 0.8346 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.7102, allocations: 0.8518 MB / 0.8355 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.7117, allocations: 449 kB / 0.8359 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.7136, allocations: 1.264 MB / 0.8371 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.7149, allocations: 0.685 MB / 0.8378 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.7159, allocations: 0.5504 MB / 0.8383 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.7173, allocations: 0.9156 MB / 0.8392 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.7175, allocations: 64.41 kB / 0.8393 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.7179, allocations: 109.2 kB / 0.8394 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.7183, allocations: 315.5 kB / 0.8397 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007005/0.719, allocations: 495.5 kB / 0.8402 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.7206, allocations: 1.21 MB / 0.8413 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7206, allocations: 0 / 0.8413 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7206, allocations: 0 / 0.8413 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.713e-05/0.7207, allocations: 2.969 kB / 0.8413 GB, free: 8.07 MB / 0.6075 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.002933/0.7236, allocations: 1.515 MB / 0.8428 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.7237, allocations: 10.69 kB / 0.8428 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.7238, allocations: 89.17 kB / 0.8429 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.7241, allocations: 139.3 kB / 0.8431 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009702/0.725, allocations: 0.6758 MB / 0.8437 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.7252, allocations: 72.45 kB / 0.8438 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.719e-05/0.7253, allocations: 52.52 kB / 0.8438 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009753/0.7263, allocations: 0.5182 MB / 0.8443 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.7263, allocations: 0 / 0.8443 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.7263, allocations: 17.12 kB / 0.8444 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.7264, allocations: 9.562 kB / 0.8444 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.7272, allocations: 422.9 kB / 0.8448 GB, free: 5.531 MB / 0.6075 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.003748/0.731, allocations: 2.791 MB / 0.8475 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.732, allocations: 451.8 kB / 0.8479 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.7326, allocations: 292.2 kB / 0.8482 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.7327, allocations: 10.08 kB / 0.8482 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005758/0.7333, allocations: 298.8 kB / 0.8485 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.324e-06/0.7333, allocations: 0 / 0.8485 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003039/0.7363, allocations: 1.244 MB / 0.8497 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.7364, allocations: 56.78 kB / 0.8498 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.7382, allocations: 1.758 MB / 0.8515 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.7383, allocations: 41.69 kB / 0.8515 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.7388, allocations: 0.5222 MB / 0.852 GB, free: 104 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.7389, allocations: 154.8 kB / 0.8522 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.7391, allocations: 94.25 kB / 0.8523 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.7393, allocations: 330 kB / 0.8526 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.7398, allocations: 213 kB / 0.8528 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.7404, allocations: 332.8 kB / 0.8531 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.7415, allocations: 0.5102 MB / 0.8536 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.7415, allocations: 4 kB / 0.8536 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001798/0.7433, allocations: 0.8457 MB / 0.8544 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7433, allocations: 8 kB / 0.8544 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7433, allocations: 4 kB / 0.8544 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/0.7439, allocations: 190.3 kB / 0.8546 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.7443, allocations: 95.81 kB / 0.8547 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/0.7481, allocations: 3 MB / 0.8576 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.7486, allocations: 79.69 kB / 0.8577 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.7487, allocations: 16 kB / 0.8577 GB, free: 10.02 MB / 0.6231 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.0005808/0.7493, allocations: 387.3 kB / 0.8581 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.7494, allocations: 119.2 kB / 0.8582 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.7497, allocations: 139.7 kB / 0.8584 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.7497, allocations: 4 kB / 0.8584 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.7497, allocations: 8 kB / 0.8584 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.7497, allocations: 3.984 kB / 0.8584 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.7524, allocations: 1.568 MB / 0.8599 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.7524, allocations: 4 kB / 0.8599 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.7526, allocations: 47.89 kB / 0.86 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/0.7531, allocations: 190.6 kB / 0.8601 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.7532, allocations: 15.98 kB / 0.8601 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00485/0.7581, allocations: 4.558 MB / 0.8646 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7581, allocations: 0 / 0.8646 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.7601, allocations: 1.067 MB / 0.8656 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.7604, allocations: 224.2 kB / 0.8659 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.7605, allocations: 11.94 kB / 0.8659 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.7608, allocations: 31.97 kB / 0.8659 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.761, allocations: 51.92 kB / 0.8659 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.761, allocations: 16 kB / 0.866 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001553/0.7626, allocations: 1.277 MB / 0.8672 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7626, allocations: 3.938 kB / 0.8672 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007899/0.7634, allocations: 207.7 kB / 0.8674 GB, free: 15.72 MB / 0.6387 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.003954/0.7674, allocations: 1.985 MB / 0.8693 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.769, allocations: 0.7189 MB / 0.8701 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.769, allocations: 0 / 0.8701 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009924/0.77, allocations: 0.5635 MB / 0.8706 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.7711, allocations: 202 kB / 0.8708 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.7839, allocations: 8.604 MB / 0.8792 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/0.7849, allocations: 1.153 MB / 0.8803 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000305/0.7852, allocations: 96.77 kB / 0.8804 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.7857, allocations: 405.9 kB / 0.8808 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.7857, allocations: 0 / 0.8808 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05813/0.8438, allocations: 21.22 MB / 0.9015 GB, free: 12.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.58, allocations: 7.875 kB / 0.9015 GB, free: 12.97 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)