Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.004773/0.004773, allocations: 101.1 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.001311/0.001311, allocations: 189.7 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.35/1.35, 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.8156/0.8156, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 59.81 kB / 0.5808 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1615, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.5876/0.7491, allocations: 157.8 MB / 0.8133 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02964/0.7788, allocations: 22.12 MB / 0.8349 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/0.782, allocations: 66.66 kB / 0.835 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.7842, allocations: 1.38 MB / 0.8363 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.787, allocations: 1.006 MB / 0.8373 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.789, allocations: 0.6519 MB / 0.8379 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.7917, allocations: 1.696 MB / 0.8396 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.7931, allocations: 0.9616 MB / 0.8405 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.7942, allocations: 0.7349 MB / 0.8413 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.7958, allocations: 1.19 MB / 0.8424 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.7959, allocations: 91.31 kB / 0.8425 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.7964, allocations: 140.5 kB / 0.8426 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.7968, allocations: 420.8 kB / 0.843 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006718/0.7975, allocations: 0.6503 MB / 0.8437 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.7996, allocations: 1.617 MB / 0.8453 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.7997, allocations: 0 / 0.8453 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7997, allocations: 0 / 0.8453 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.354e-05/0.7997, allocations: 0 / 0.8453 GB, free: 5.312 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003486/0.8032, allocations: 1.977 MB / 0.8472 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.8033, allocations: 9.406 kB / 0.8472 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.8034, allocations: 110.7 kB / 0.8473 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.8038, allocations: 196.3 kB / 0.8475 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.8052, allocations: 0.9025 MB / 0.8484 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.8054, allocations: 94.22 kB / 0.8485 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.8055, allocations: 63.16 kB / 0.8485 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.8068, allocations: 0.7248 MB / 0.8492 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.8069, allocations: 4 kB / 0.8492 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.8069, allocations: 26.84 kB / 0.8493 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.807, allocations: 19.5 kB / 0.8493 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.8081, allocations: 0.5479 MB / 0.8498 GB, free: 2.02 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.005432/0.8136, allocations: 3.61 MB / 0.8533 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.8151, allocations: 0.6042 MB / 0.8539 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008132/0.8159, allocations: 374.3 kB / 0.8543 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-05/0.816, allocations: 8.547 kB / 0.8543 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008527/0.8168, allocations: 375 kB / 0.8547 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=65): time 8.496e-06/0.8168, allocations: 7.984 kB / 0.8547 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65): time 0.005629/0.8225, allocations: 1.781 MB / 0.8564 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.8226, allocations: 71.91 kB / 0.8565 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.8253, allocations: 2.251 MB / 0.8587 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.58e-05/0.8254, allocations: 45.7 kB / 0.8587 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/0.8261, allocations: 0.7192 MB / 0.8594 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.8264, allocations: 218.2 kB / 0.8596 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.8266, allocations: 134.6 kB / 0.8597 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.8268, allocations: 333.9 kB / 0.8601 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006649/0.8275, allocations: 277.8 kB / 0.8603 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/0.8283, allocations: 424.8 kB / 0.8607 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.8296, allocations: 0.6648 MB / 0.8614 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8296, allocations: 0 / 0.8614 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002574/0.8322, allocations: 1.118 MB / 0.8625 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.8322, allocations: 8 kB / 0.8625 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.8323, allocations: 8 kB / 0.8625 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009095/0.8332, allocations: 281.7 kB / 0.8628 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.8336, allocations: 123.8 kB / 0.8629 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/0.8394, allocations: 3.692 MB / 0.8665 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/0.8401, allocations: 83.58 kB / 0.8666 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.8402, allocations: 32 kB / 0.8666 GB, free: 0.9414 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007594/0.8409, allocations: 467.7 kB / 0.867 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.8412, allocations: 166.9 kB / 0.8672 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.8415, allocations: 195.6 kB / 0.8674 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.8415, allocations: 15.94 kB / 0.8674 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8415, allocations: 0 / 0.8674 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8415, allocations: 3.984 kB / 0.8674 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.8452, allocations: 2.042 MB / 0.8694 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8452, allocations: 0 / 0.8694 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.8455, allocations: 55.95 kB / 0.8695 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008111/0.8463, allocations: 277.3 kB / 0.8697 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.8464, allocations: 19.98 kB / 0.8697 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006717/0.8531, allocations: 5.246 MB / 0.8749 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8531, allocations: 0 / 0.8749 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.8562, allocations: 1.41 MB / 0.8762 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.8568, allocations: 275.8 kB / 0.8765 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.8569, allocations: 19.98 kB / 0.8765 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.8574, allocations: 40.09 kB / 0.8766 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.8576, allocations: 64.47 kB / 0.8766 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/0.8576, allocations: 23.98 kB / 0.8766 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002084/0.8597, allocations: 1.627 MB / 0.8782 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8597, allocations: 4 kB / 0.8782 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001005/0.8608, allocations: 271.6 kB / 0.8785 GB, free: 4.348 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004916/0.8657, allocations: 2.343 MB / 0.8808 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.8679, allocations: 0.9147 MB / 0.8817 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.8679, allocations: 0 / 0.8817 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.8692, allocations: 0.6713 MB / 0.8823 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.8707, allocations: 289.1 kB / 0.8826 GB, free: 316 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/0.8887, allocations: 11.04 MB / 0.8934 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.8899, allocations: 1.318 MB / 0.8947 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004841/0.8904, allocations: 122.4 kB / 0.8948 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.8911, allocations: 0.5383 MB / 0.8953 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.8911, allocations: 0 / 0.8953 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07469/0.9658, allocations: 29.19 MB / 0.9238 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.95, allocations: 18.7 kB / 0.9238 GB, free: 6.09 MB / 0.6856 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)