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.006976/0.006976, allocations: 100.9 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.6 kB / 16.68 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 69.72 kB / 0.5808 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4672/0.5971, allocations: 157 MB / 0.8125 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02552/0.6227, allocations: 21.87 MB / 0.8339 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.625, allocations: 54.97 kB / 0.8339 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.6267, allocations: 1.345 MB / 0.8352 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.6283, allocations: 0.9824 MB / 0.8362 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.6297, allocations: 0.5087 MB / 0.8367 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.6312, allocations: 1.44 MB / 0.8381 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008443/0.632, allocations: 0.7834 MB / 0.8388 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007299/0.6328, allocations: 0.6506 MB / 0.8395 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.6338, allocations: 1.098 MB / 0.8406 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.634, allocations: 76.44 kB / 0.8406 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.6342, allocations: 121 kB / 0.8407 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.6345, allocations: 373.2 kB / 0.8411 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004468/0.635, allocations: 0.5557 MB / 0.8416 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.6363, allocations: 1.376 MB / 0.843 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6363, allocations: 0 / 0.843 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6363, allocations: 0 / 0.843 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.6364, allocations: 0 / 0.843 GB, free: 7.066 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.002476/0.6388, allocations: 1.738 MB / 0.8447 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6389, allocations: 10.09 kB / 0.8447 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.639, allocations: 88.95 kB / 0.8448 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.6393, allocations: 166.9 kB / 0.8449 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.6402, allocations: 0.7571 MB / 0.8457 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.6404, allocations: 86.14 kB / 0.8458 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/0.6405, allocations: 55.22 kB / 0.8458 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.6415, allocations: 0.5695 MB / 0.8464 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.6415, allocations: 3.953 kB / 0.8464 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.6416, allocations: 16.53 kB / 0.8464 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.6416, allocations: 16.66 kB / 0.8464 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008905/0.6425, allocations: 448.1 kB / 0.8468 GB, free: 4.242 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.003872/0.6464, allocations: 2.991 MB / 0.8498 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.6474, allocations: 0.4948 MB / 0.8502 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.648, allocations: 316.6 kB / 0.8505 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.6481, allocations: 9.297 kB / 0.8505 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006324/0.6487, allocations: 339.4 kB / 0.8509 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=52): time 2.475e-06/0.6487, allocations: 0 / 0.8509 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=52): time 0.003185/0.6519, allocations: 1.352 MB / 0.8522 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.652, allocations: 63.78 kB / 0.8523 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.6542, allocations: 2.112 MB / 0.8543 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.6543, allocations: 41.64 kB / 0.8544 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/0.6549, allocations: 0.6327 MB / 0.855 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.655, allocations: 178.5 kB / 0.8551 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.6552, allocations: 110.3 kB / 0.8552 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6553, allocations: 330 kB / 0.8556 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.6559, allocations: 229.2 kB / 0.8558 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.6565, allocations: 357.1 kB / 0.8561 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6576, allocations: 0.5397 MB / 0.8566 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6576, allocations: 4 kB / 0.8567 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00187/0.6595, allocations: 0.9168 MB / 0.8575 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6595, allocations: 11.94 kB / 0.8576 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6595, allocations: 96 / 0.8576 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.6601, allocations: 197.2 kB / 0.8577 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.6605, allocations: 103.9 kB / 0.8578 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.6642, allocations: 3.055 MB / 0.8608 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.6648, allocations: 79.64 kB / 0.8609 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.6648, allocations: 24 kB / 0.8609 GB, free: 6.754 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.0006334/0.6655, allocations: 451.9 kB / 0.8614 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.6656, allocations: 147 kB / 0.8615 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.6659, allocations: 165.9 kB / 0.8617 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6659, allocations: 8 kB / 0.8617 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6659, allocations: 4 kB / 0.8617 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6659, allocations: 3.984 kB / 0.8617 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.6687, allocations: 1.731 MB / 0.8634 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6687, allocations: 0 / 0.8634 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.669, allocations: 51.91 kB / 0.8634 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/0.6695, allocations: 197.6 kB / 0.8636 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.6696, allocations: 23.98 kB / 0.8636 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/0.674, allocations: 4.606 MB / 0.8681 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.674, allocations: 0 / 0.8681 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.6762, allocations: 1.167 MB / 0.8693 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.6766, allocations: 248 kB / 0.8695 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.6767, allocations: 16 kB / 0.8695 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.677, allocations: 35.95 kB / 0.8695 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.6772, allocations: 56.36 kB / 0.8696 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.6773, allocations: 19.98 kB / 0.8696 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001654/0.6789, allocations: 1.541 MB / 0.8711 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6789, allocations: 0 / 0.8711 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008305/0.6798, allocations: 227.7 kB / 0.8713 GB, free: 11.68 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.003364/0.6831, allocations: 2.104 MB / 0.8734 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.6849, allocations: 0.7568 MB / 0.8741 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6849, allocations: 0 / 0.8741 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6859, allocations: 0.5896 MB / 0.8747 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.6871, allocations: 235.6 kB / 0.8749 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.7009, allocations: 9.825 MB / 0.8845 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.7018, allocations: 1.25 MB / 0.8858 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003539/0.7021, allocations: 101.1 kB / 0.8858 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.7027, allocations: 475.3 kB / 0.8863 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.7027, allocations: 0 / 0.8863 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0516/0.7543, allocations: 24.1 MB / 0.9098 GB, free: 4.496 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.51, allocations: 10.33 kB / 0.9098 GB, free: 4.488 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)