Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.008402/0.008402, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001918/0.001918, allocations: 197.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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.862/0.862, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 70.59 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1691, allocations: 80.2 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4912/0.6603, allocations: 157 MB / 0.8125 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0267/0.687, allocations: 21.87 MB / 0.8339 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.6894, allocations: 54.97 kB / 0.8339 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.6913, allocations: 1.342 MB / 0.8352 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.693, allocations: 0.9732 MB / 0.8362 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.6945, allocations: 0.5036 MB / 0.8367 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.6962, allocations: 1.446 MB / 0.8381 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009925/0.6972, allocations: 0.7751 MB / 0.8388 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008753/0.698, allocations: 0.6462 MB / 0.8395 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.6993, allocations: 1.101 MB / 0.8405 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.6994, allocations: 73.25 kB / 0.8406 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.6998, allocations: 127.6 kB / 0.8407 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.7001, allocations: 374.7 kB / 0.8411 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.7006, allocations: 0.5428 MB / 0.8416 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.7022, allocations: 1.374 MB / 0.843 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7022, allocations: 0 / 0.843 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7022, allocations: 2.625 kB / 0.843 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.7022, allocations: 0 / 0.843 GB, free: 7.039 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002694/0.7049, allocations: 1.739 MB / 0.8447 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.705, allocations: 13.41 kB / 0.8447 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.7051, allocations: 90.11 kB / 0.8448 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.7054, allocations: 169.5 kB / 0.8449 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.7064, allocations: 0.7592 MB / 0.8457 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.7065, allocations: 80.28 kB / 0.8457 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/0.7066, allocations: 52.92 kB / 0.8458 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.7077, allocations: 0.5709 MB / 0.8463 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.7077, allocations: 3.953 kB / 0.8463 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.7078, allocations: 20.88 kB / 0.8464 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.7078, allocations: 13.03 kB / 0.8464 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.7087, allocations: 449.7 kB / 0.8468 GB, free: 4.207 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.003956/0.7127, allocations: 2.999 MB / 0.8497 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.7138, allocations: 498.9 kB / 0.8502 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.7144, allocations: 326.8 kB / 0.8505 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.7145, allocations: 8.672 kB / 0.8505 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006327/0.7151, allocations: 323.9 kB / 0.8508 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=52): time 2.395e-06/0.7151, allocations: 0 / 0.8508 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=52): time 0.003305/0.7185, allocations: 1.36 MB / 0.8522 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.7185, allocations: 63.78 kB / 0.8522 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.7209, allocations: 2.116 MB / 0.8543 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.721, allocations: 41.64 kB / 0.8543 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005895/0.7216, allocations: 0.6327 MB / 0.855 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.7218, allocations: 174.6 kB / 0.8551 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.722, allocations: 106.3 kB / 0.8552 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7221, allocations: 334 kB / 0.8555 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/0.7227, allocations: 229.2 kB / 0.8558 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.7234, allocations: 345.8 kB / 0.8561 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.7245, allocations: 0.5495 MB / 0.8566 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.7245, allocations: 8 kB / 0.8566 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001918/0.7264, allocations: 0.9148 MB / 0.8575 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7265, allocations: 4 kB / 0.8575 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.7265, allocations: 4 kB / 0.8575 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/0.7271, allocations: 202.5 kB / 0.8577 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.7275, allocations: 103.8 kB / 0.8578 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.7317, allocations: 3.043 MB / 0.8608 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.7323, allocations: 79.64 kB / 0.8609 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.7324, allocations: 24 kB / 0.8609 GB, free: 6.777 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008122/0.7332, allocations: 448 kB / 0.8613 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.7334, allocations: 147 kB / 0.8615 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.7337, allocations: 177.9 kB / 0.8616 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.7337, allocations: 4 kB / 0.8616 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.7338, allocations: 8 kB / 0.8616 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7338, allocations: 0 / 0.8616 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.7367, allocations: 1.738 MB / 0.8633 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7367, allocations: 0 / 0.8633 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.737, allocations: 43.97 kB / 0.8634 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/0.7375, allocations: 203.1 kB / 0.8636 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.7376, allocations: 15.94 kB / 0.8636 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/0.7426, allocations: 4.614 MB / 0.8681 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7426, allocations: 0 / 0.8681 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.7449, allocations: 1.175 MB / 0.8692 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.7452, allocations: 244 kB / 0.8695 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.7454, allocations: 16 kB / 0.8695 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.7457, allocations: 31.97 kB / 0.8695 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.7459, allocations: 60.34 kB / 0.8696 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.7459, allocations: 16 kB / 0.8696 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001859/0.7478, allocations: 1.545 MB / 0.8711 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7478, allocations: 0 / 0.8711 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008267/0.7486, allocations: 227.7 kB / 0.8713 GB, free: 11.7 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.0042/0.7528, allocations: 2.103 MB / 0.8734 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.7546, allocations: 0.7568 MB / 0.8741 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7546, allocations: 0 / 0.8741 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.7557, allocations: 0.5858 MB / 0.8747 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.7569, allocations: 234.9 kB / 0.8749 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.7717, allocations: 9.824 MB / 0.8845 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009877/0.7727, allocations: 1.246 MB / 0.8857 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003619/0.7731, allocations: 109 kB / 0.8858 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005882/0.7737, allocations: 479.3 kB / 0.8863 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7737, allocations: 0 / 0.8863 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06405/0.8378, allocations: 24.09 MB / 0.9098 GB, free: 4.504 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.01, allocations: 13.59 kB / 0.9098 GB, free: 4.496 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_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_TestCase6.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)