Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.TestCase11,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",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.001577/0.001577, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00224/0.00224, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.23 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1999, allocations: 80.92 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.5216/0.7215, allocations: 156.1 MB / 0.7364 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02969/0.7513, allocations: 21.96 MB / 0.7579 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/0.7546, allocations: 59.22 kB / 0.7579 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.7575, allocations: 1.929 MB / 0.7598 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.7603, allocations: 1.266 MB / 0.761 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.7625, allocations: 0.6084 MB / 0.7616 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.7654, allocations: 1.953 MB / 0.7635 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.7675, allocations: 1.159 MB / 0.7647 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.7691, allocations: 0.8994 MB / 0.7655 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.7712, allocations: 1.502 MB / 0.767 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004052/0.7716, allocations: 104 kB / 0.7671 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006618/0.7723, allocations: 163.9 kB / 0.7673 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006388/0.773, allocations: 0.5428 MB / 0.7678 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.774, allocations: 0.8302 MB / 0.7686 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.7765, allocations: 1.926 MB / 0.7705 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7766, allocations: 0 / 0.7705 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7766, allocations: 0 / 0.7705 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.633e-05/0.7767, allocations: 0 / 0.7705 GB, free: 14.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004793/0.7815, allocations: 2.389 MB / 0.7728 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.7815, allocations: 8.031 kB / 0.7728 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002648/0.7818, allocations: 127 kB / 0.773 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/0.7823, allocations: 241.9 kB / 0.7732 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.7842, allocations: 1.046 MB / 0.7742 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.7844, allocations: 99.69 kB / 0.7743 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.7846, allocations: 84 kB / 0.7744 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.7864, allocations: 0.869 MB / 0.7752 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.7865, allocations: 0 / 0.7752 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/0.7866, allocations: 35.94 kB / 0.7753 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.7866, allocations: 16 kB / 0.7753 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.788, allocations: 0.6557 MB / 0.7759 GB, free: 8.359 MB / 0.5919 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.006337/0.7944, allocations: 4.169 MB / 0.78 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.796, allocations: 0.7143 MB / 0.7807 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007982/0.7968, allocations: 415.3 kB / 0.7811 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-05/0.7969, allocations: 12.64 kB / 0.7811 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008937/0.7978, allocations: 432.1 kB / 0.7815 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 5.811e-06/0.7978, allocations: 4 kB / 0.7815 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.00629/0.8041, allocations: 2.103 MB / 0.7836 GB, free: 156 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.8042, allocations: 89.77 kB / 0.7836 GB, free: 48 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/0.8085, allocations: 3.199 MB / 0.7868 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.8087, allocations: 45.7 kB / 0.7868 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008774/0.8096, allocations: 0.9607 MB / 0.7878 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.8099, allocations: 264.4 kB / 0.788 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.8101, allocations: 146.7 kB / 0.7881 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8103, allocations: 341.9 kB / 0.7885 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/0.811, allocations: 313.8 kB / 0.7888 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/0.8118, allocations: 469.3 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.8132, allocations: 0.7265 MB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.8132, allocations: 0 / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002565/0.8158, allocations: 1.238 MB / 0.7911 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.8158, allocations: 8 kB / 0.7911 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.8158, allocations: 4.219 kB / 0.7912 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.8169, allocations: 330.8 kB / 0.7915 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.8174, allocations: 135.7 kB / 0.7916 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.8238, allocations: 4.109 MB / 0.7956 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/0.8248, allocations: 115.2 kB / 0.7957 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.8249, allocations: 24 kB / 0.7957 GB, free: 3.375 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001173/0.8261, allocations: 0.5989 MB / 0.7963 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.8265, allocations: 209.3 kB / 0.7965 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.827, allocations: 253.5 kB / 0.7968 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.827, allocations: 8 kB / 0.7968 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.8271, allocations: 0 / 0.7968 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.8271, allocations: 3.984 kB / 0.7968 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.8317, allocations: 2.405 MB / 0.7991 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.8317, allocations: 4 kB / 0.7991 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.832, allocations: 75.83 kB / 0.7992 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009758/0.833, allocations: 338.2 kB / 0.7995 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.8331, allocations: 19.98 kB / 0.7995 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006931/0.84, allocations: 5.551 MB / 0.805 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8401, allocations: 0 / 0.805 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.8432, allocations: 1.571 MB / 0.8065 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.8438, allocations: 322.2 kB / 0.8068 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.844, allocations: 16 kB / 0.8068 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.8447, allocations: 59.94 kB / 0.8069 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.845, allocations: 92.52 kB / 0.807 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.845, allocations: 27.98 kB / 0.807 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00272/0.8478, allocations: 2.337 MB / 0.8093 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8478, allocations: 0 / 0.8093 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001218/0.849, allocations: 331.4 kB / 0.8096 GB, free: 4.758 MB / 0.6231 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: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004368/0.8534, allocations: 2.513 MB / 0.812 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.8559, allocations: 1.097 MB / 0.8131 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.8559, allocations: 0 / 0.8131 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.8574, allocations: 0.7775 MB / 0.8139 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.8591, allocations: 309.1 kB / 0.8142 GB, free: 224 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/0.8834, allocations: 16.19 MB / 0.83 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.8848, allocations: 1.54 MB / 0.8315 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005608/0.8854, allocations: 135.2 kB / 0.8316 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008623/0.8862, allocations: 0.7609 MB / 0.8324 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/0.8863, allocations: 4 kB / 0.8324 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3562/1.243, allocations: 34.85 MB / 0.8664 GB, free: 217.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.243, allocations: 292.3 kB / 0.8667 GB, free: 217.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.94, allocations: 0 / 0.8667 GB, free: 217.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-07 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)