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.001366/0.001366, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8054/0.8054, allocations: 132.2 MB / 422.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 63.31 kB / 0.5019 GB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1656, allocations: 80.21 MB / 0.5802 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4506/0.6162, allocations: 156.7 MB / 0.7332 GB, free: 212 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0288/0.6451, allocations: 21.73 MB / 0.7545 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.6478, allocations: 51.03 kB / 0.7545 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.6494, allocations: 1.169 MB / 0.7556 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.6509, allocations: 0.8477 MB / 0.7565 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.6521, allocations: 442 kB / 0.7569 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.6534, allocations: 1.257 MB / 0.7581 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007522/0.6542, allocations: 0.6875 MB / 0.7588 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.6548, allocations: 0.5491 MB / 0.7593 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009387/0.6558, allocations: 0.9216 MB / 0.7602 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.6559, allocations: 64 kB / 0.7603 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.6561, allocations: 112 kB / 0.7604 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.6564, allocations: 316.7 kB / 0.7607 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.6568, allocations: 488.8 kB / 0.7612 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.6578, allocations: 1.183 MB / 0.7623 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6578, allocations: 0 / 0.7623 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6578, allocations: 3.938 kB / 0.7623 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.6578, allocations: 0 / 0.7623 GB, free: 8.215 MB / 0.5762 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.00218/0.66, allocations: 1.482 MB / 0.7638 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6601, allocations: 8.031 kB / 0.7638 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.96e-05/0.6602, allocations: 86.7 kB / 0.7639 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.6604, allocations: 135.2 kB / 0.764 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007698/0.6611, allocations: 0.6508 MB / 0.7646 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.6613, allocations: 78.69 kB / 0.7647 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.6614, allocations: 51.89 kB / 0.7648 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008854/0.6622, allocations: 0.5184 MB / 0.7653 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6623, allocations: 4 kB / 0.7653 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.6623, allocations: 16 kB / 0.7653 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6623, allocations: 8 kB / 0.7653 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008263/0.6632, allocations: 419.6 kB / 0.7657 GB, free: 4.645 MB / 0.5762 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.003372/0.6666, allocations: 2.735 MB / 0.7684 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.6675, allocations: 451 kB / 0.7688 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.6681, allocations: 302.8 kB / 0.7691 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.6682, allocations: 8.641 kB / 0.7691 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005292/0.6687, allocations: 279 kB / 0.7694 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.715e-06/0.6687, allocations: 0 / 0.7694 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002612/0.6714, allocations: 1.149 MB / 0.7705 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.6714, allocations: 59.41 kB / 0.7705 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.6733, allocations: 1.764 MB / 0.7723 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.6734, allocations: 33.7 kB / 0.7723 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.6738, allocations: 0.5249 MB / 0.7728 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.674, allocations: 146.1 kB / 0.7729 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.6741, allocations: 98.16 kB / 0.773 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6742, allocations: 337.9 kB / 0.7734 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.6747, allocations: 209 kB / 0.7736 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.6753, allocations: 343.1 kB / 0.7739 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.6762, allocations: 0.5124 MB / 0.7744 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6762, allocations: 4 kB / 0.7744 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001555/0.6778, allocations: 0.8011 MB / 0.7752 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6778, allocations: 16.16 kB / 0.7752 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.6778, allocations: 4 kB / 0.7752 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004627/0.6783, allocations: 136.7 kB / 0.7753 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.6787, allocations: 103.9 kB / 0.7754 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.6815, allocations: 2.602 MB / 0.778 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.682, allocations: 79.39 kB / 0.778 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.682, allocations: 20 kB / 0.7781 GB, free: 7.387 MB / 0.5919 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.0004892/0.6825, allocations: 392 kB / 0.7784 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.6827, allocations: 118.4 kB / 0.7785 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.6829, allocations: 143.7 kB / 0.7787 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6829, allocations: 7.938 kB / 0.7787 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.6829, allocations: 4 kB / 0.7787 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6829, allocations: 0 / 0.7787 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.6853, allocations: 1.494 MB / 0.7801 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6853, allocations: 0 / 0.7801 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.6855, allocations: 47.95 kB / 0.7802 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004096/0.686, allocations: 164.4 kB / 0.7803 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.686, allocations: 15.98 kB / 0.7804 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003544/0.6896, allocations: 4.034 MB / 0.7843 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6896, allocations: 3.938 kB / 0.7843 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.6913, allocations: 0.9834 MB / 0.7853 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.6916, allocations: 215.6 kB / 0.7855 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/0.6917, allocations: 12 kB / 0.7855 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.692, allocations: 27.97 kB / 0.7855 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6922, allocations: 59.86 kB / 0.7856 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.6922, allocations: 12 kB / 0.7856 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001343/0.6936, allocations: 1.289 MB / 0.7868 GB, free: 14 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6936, allocations: 0 / 0.7868 GB, free: 14 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007398/0.6943, allocations: 199.6 kB / 0.787 GB, free: 13.8 MB / 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.002913/0.6973, allocations: 1.893 MB / 0.7889 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.6989, allocations: 0.7003 MB / 0.7896 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6989, allocations: 4.062 kB / 0.7896 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008191/0.6997, allocations: 0.5205 MB / 0.7901 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.7007, allocations: 201.7 kB / 0.7903 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.7125, allocations: 9.067 MB / 0.7991 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/0.7133, allocations: 1.153 MB / 0.8002 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003578/0.7136, allocations: 92.77 kB / 0.8003 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.7141, allocations: 403.3 kB / 0.8007 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.7141, allocations: 4 kB / 0.8007 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05053/0.7646, allocations: 20.46 MB / 0.8207 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.177/9.942, allocations: 16.27 kB / 0.8207 GB, free: 11.35 MB / 0.6387 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)