Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.005222/0.005223, allocations: 99.61 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.001275/0.001275, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7364/0.7364, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 63.89 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.381, allocations: 80.2 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1618/0.5429, allocations: 156.7 MB / 0.8122 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02311/0.566, allocations: 21.73 MB / 0.8334 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.5676, allocations: 51.75 kB / 0.8335 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.5692, allocations: 1.169 MB / 0.8346 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.5707, allocations: 0.8485 MB / 0.8355 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.5718, allocations: 449.1 kB / 0.8359 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.5732, allocations: 1.255 MB / 0.8371 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.5741, allocations: 0.6892 MB / 0.8378 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007609/0.5749, allocations: 0.5451 MB / 0.8383 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.576, allocations: 0.9178 MB / 0.8392 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.5761, allocations: 64 kB / 0.8393 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.5764, allocations: 111.9 kB / 0.8394 GB, free: 12.97 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.5767, allocations: 320.7 kB / 0.8397 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004705/0.5772, allocations: 496.8 kB / 0.8402 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.5783, allocations: 1.191 MB / 0.8413 GB, free: 10.97 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5783, allocations: 0 / 0.8413 GB, free: 10.97 MB / 0.67 GB Notification: Performance of FrontEnd: time 5.18e-06/0.5783, allocations: 4 kB / 0.8413 GB, free: 10.97 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.108e-05/0.5784, allocations: 4 kB / 0.8413 GB, free: 10.96 MB / 0.67 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.002309/0.5807, allocations: 1.471 MB / 0.8428 GB, free: 9.441 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5807, allocations: 8.031 kB / 0.8428 GB, free: 9.434 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.5808, allocations: 86.7 kB / 0.8429 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.581, allocations: 138.8 kB / 0.843 GB, free: 9.203 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008658/0.5819, allocations: 0.6625 MB / 0.8436 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.582, allocations: 74.62 kB / 0.8437 GB, free: 8.406 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.5821, allocations: 48 kB / 0.8438 GB, free: 8.359 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.5831, allocations: 0.5184 MB / 0.8443 GB, free: 7.832 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.5831, allocations: 4 kB / 0.8443 GB, free: 7.828 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.5831, allocations: 16 kB / 0.8443 GB, free: 7.812 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5832, allocations: 19.92 kB / 0.8443 GB, free: 7.793 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.584, allocations: 419.6 kB / 0.8447 GB, free: 7.379 MB / 0.67 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.003583/0.5876, allocations: 2.792 MB / 0.8474 GB, free: 4.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5886, allocations: 451.4 kB / 0.8479 GB, free: 3.891 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/0.5892, allocations: 290.2 kB / 0.8481 GB, free: 3.605 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.5893, allocations: 12.31 kB / 0.8481 GB, free: 3.594 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005513/0.5898, allocations: 299.6 kB / 0.8484 GB, free: 3.293 MB / 0.67 GB Notification: Performance of pre-optimization done (n=45): time 2.324e-06/0.5898, allocations: 4 kB / 0.8484 GB, free: 3.289 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.002879/0.5927, allocations: 1.245 MB / 0.8497 GB, free: 1.992 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.5928, allocations: 55.41 kB / 0.8497 GB, free: 1.926 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.5946, allocations: 1.752 MB / 0.8514 GB, free: 168 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.5946, allocations: 37.7 kB / 0.8515 GB, free: 124 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.595, allocations: 0.5141 MB / 0.852 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.5952, allocations: 141.9 kB / 0.8521 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.5953, allocations: 102.2 kB / 0.8522 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.5954, allocations: 333.9 kB / 0.8525 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.5959, allocations: 217 kB / 0.8527 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.5965, allocations: 328.3 kB / 0.853 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008948/0.5974, allocations: 0.5037 MB / 0.8535 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5974, allocations: 4 kB / 0.8535 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001636/0.5991, allocations: 0.8488 MB / 0.8543 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5991, allocations: 8 kB / 0.8544 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5991, allocations: 7.938 kB / 0.8544 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.5996, allocations: 184.9 kB / 0.8545 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.6, allocations: 87.88 kB / 0.8546 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.6035, allocations: 2.992 MB / 0.8575 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.604, allocations: 75.48 kB / 0.8576 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.604, allocations: 16 kB / 0.8576 GB, free: 9.551 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005312/0.6046, allocations: 396.5 kB / 0.858 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.6048, allocations: 118.5 kB / 0.8581 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.605, allocations: 135.7 kB / 0.8583 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.605, allocations: 7.984 kB / 0.8583 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.605, allocations: 8 kB / 0.8583 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6051, allocations: 0 / 0.8583 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.6078, allocations: 1.572 MB / 0.8598 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6078, allocations: 4 kB / 0.8598 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.608, allocations: 43.97 kB / 0.8599 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005134/0.6085, allocations: 193.2 kB / 0.86 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.6086, allocations: 11.98 kB / 0.86 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.613, allocations: 4.548 MB / 0.8645 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.613, allocations: 0 / 0.8645 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.6149, allocations: 1.066 MB / 0.8655 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.6153, allocations: 215.5 kB / 0.8657 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.6154, allocations: 12 kB / 0.8657 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.6157, allocations: 27.97 kB / 0.8658 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6159, allocations: 51.92 kB / 0.8658 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.6159, allocations: 19.98 kB / 0.8658 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.2999/0.9158, allocations: 1.283 MB / 0.8671 GB, free: 194.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.32e-07/0.9158, allocations: 0 / 0.8671 GB, free: 194.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001079/0.9169, allocations: 199.6 kB / 0.8673 GB, free: 194.9 MB / 0.6856 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,13,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.00301/0.9199, allocations: 1.973 MB / 0.8692 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.9215, allocations: 0.7245 MB / 0.8699 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9215, allocations: 0 / 0.8699 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008583/0.9223, allocations: 0.5478 MB / 0.8705 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.9234, allocations: 196 kB / 0.8706 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.9365, allocations: 8.568 MB / 0.879 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.9371, allocations: 1.158 MB / 0.8801 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003079/0.9374, allocations: 92.12 kB / 0.8802 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.9377, allocations: 405.8 kB / 0.8806 GB, free: 189 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/0.9377, allocations: 0 / 0.8806 GB, free: 189 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.9853, allocations: 21.24 MB / 0.9014 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.57, allocations: 11.03 kB / 0.9014 GB, free: 179.2 MB / 0.6856 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)