Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.007514/0.007513, allocations: 105.4 kB / 15.74 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.001346/0.001346, allocations: 199.9 kB / 16.68 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7599/0.7599, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.5808 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3933, allocations: 80.2 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1551/0.5485, allocations: 156.7 MB / 0.8122 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.5713, allocations: 21.73 MB / 0.8334 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.573, allocations: 55.69 kB / 0.8335 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.5746, allocations: 1.161 MB / 0.8346 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.5761, allocations: 0.8601 MB / 0.8355 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.5774, allocations: 448.1 kB / 0.8359 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.579, allocations: 1.267 MB / 0.8371 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.5799, allocations: 0.6891 MB / 0.8378 GB, free: 14.6 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.5807, allocations: 0.5569 MB / 0.8383 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009618/0.5816, allocations: 0.9177 MB / 0.8392 GB, free: 13.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.5818, allocations: 68 kB / 0.8393 GB, free: 13.05 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.582, allocations: 104 kB / 0.8394 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.5823, allocations: 320.7 kB / 0.8397 GB, free: 12.64 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.5828, allocations: 488.8 kB / 0.8402 GB, free: 12.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.5841, allocations: 1.203 MB / 0.8414 GB, free: 10.95 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5841, allocations: 0 / 0.8414 GB, free: 10.95 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5841, allocations: 0 / 0.8414 GB, free: 10.95 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.5841, allocations: 0 / 0.8414 GB, free: 10.95 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.002209/0.5863, allocations: 1.482 MB / 0.8428 GB, free: 9.418 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5864, allocations: 8.031 kB / 0.8428 GB, free: 9.41 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.743e-05/0.5865, allocations: 82.72 kB / 0.8429 GB, free: 9.32 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.5867, allocations: 142.8 kB / 0.843 GB, free: 9.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.5875, allocations: 0.6547 MB / 0.8437 GB, free: 8.469 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5876, allocations: 78.62 kB / 0.8437 GB, free: 8.387 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.5877, allocations: 48 kB / 0.8438 GB, free: 8.34 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/0.5886, allocations: 0.5106 MB / 0.8443 GB, free: 7.82 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.5887, allocations: 4 kB / 0.8443 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.5887, allocations: 23.92 kB / 0.8443 GB, free: 7.793 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.5887, allocations: 11.94 kB / 0.8443 GB, free: 7.781 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.5896, allocations: 415.7 kB / 0.8447 GB, free: 7.371 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.003439/0.593, allocations: 2.78 MB / 0.8474 GB, free: 4.344 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.594, allocations: 463.3 kB / 0.8479 GB, free: 3.883 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.5945, allocations: 294.2 kB / 0.8482 GB, free: 3.594 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.5946, allocations: 8.328 kB / 0.8482 GB, free: 3.586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.5951, allocations: 303.6 kB / 0.8485 GB, free: 3.281 MB / 0.67 GB Notification: Performance of pre-optimization done (n=45): time 2.765e-06/0.5951, allocations: 0 / 0.8485 GB, free: 3.281 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.002806/0.5979, allocations: 1.241 MB / 0.8497 GB, free: 1.988 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.598, allocations: 59.41 kB / 0.8497 GB, free: 1.918 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.5998, allocations: 1.748 MB / 0.8514 GB, free: 164 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.5999, allocations: 41.64 kB / 0.8515 GB, free: 116 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.6003, allocations: 0.5141 MB / 0.852 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.6004, allocations: 149.9 kB / 0.8521 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.6006, allocations: 98.23 kB / 0.8522 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.6007, allocations: 329.8 kB / 0.8525 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.6011, allocations: 221 kB / 0.8527 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.6016, allocations: 324.9 kB / 0.853 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/0.6024, allocations: 0.507 MB / 0.8535 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6025, allocations: 448 / 0.8535 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00153/0.604, allocations: 0.8528 MB / 0.8544 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.604, allocations: 4 kB / 0.8544 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.604, allocations: 4 kB / 0.8544 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.6045, allocations: 186.8 kB / 0.8546 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.6049, allocations: 99.95 kB / 0.8547 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.6082, allocations: 2.993 MB / 0.8576 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.6086, allocations: 71.48 kB / 0.8576 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.6087, allocations: 20 kB / 0.8577 GB, free: 9.531 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.0004446/0.6091, allocations: 384.5 kB / 0.858 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6093, allocations: 114.6 kB / 0.8581 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.6095, allocations: 155.7 kB / 0.8583 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6095, allocations: 4 kB / 0.8583 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6095, allocations: 4 kB / 0.8583 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6095, allocations: 0 / 0.8583 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.6118, allocations: 1.568 MB / 0.8598 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6118, allocations: 0 / 0.8598 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.612, allocations: 43.91 kB / 0.8599 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/0.6125, allocations: 201.6 kB / 0.8601 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.6125, allocations: 12 kB / 0.8601 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004113/0.6167, allocations: 4.545 MB / 0.8645 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6167, allocations: 4.031 kB / 0.8645 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.6185, allocations: 1.055 MB / 0.8655 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.6188, allocations: 215.5 kB / 0.8657 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6189, allocations: 15.98 kB / 0.8658 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.6192, allocations: 31.97 kB / 0.8658 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.6194, allocations: 51.92 kB / 0.8658 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.6194, allocations: 12 kB / 0.8659 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.308/0.9274, allocations: 1.281 MB / 0.8671 GB, free: 195 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.01e-07/0.9274, allocations: 3.188 kB / 0.8671 GB, free: 195 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001042/0.9285, allocations: 199.1 kB / 0.8673 GB, free: 195 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.002978/0.9315, allocations: 1.986 MB / 0.8692 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.933, allocations: 0.7198 MB / 0.8699 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.933, allocations: 0 / 0.8699 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.9338, allocations: 0.5576 MB / 0.8705 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.9348, allocations: 201.3 kB / 0.8707 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.9485, allocations: 8.563 MB / 0.879 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.9492, allocations: 1.153 MB / 0.8802 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003528/0.9496, allocations: 90.19 kB / 0.8803 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.9499, allocations: 405.2 kB / 0.8806 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.9499, allocations: 3.062 kB / 0.8806 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/0.9967, allocations: 21.24 MB / 0.9014 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.27, allocations: 1.875 kB / 0.9014 GB, free: 179.3 MB / 0.6856 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)