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.007871/0.007871, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001892/0.001892, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8278/0.8278, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 63.91 kB / 0.5808 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4217, allocations: 80.2 MB / 0.6592 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.176/0.5977, allocations: 156.7 MB / 0.8122 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.6241, allocations: 21.74 MB / 0.8334 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.6258, allocations: 51.69 kB / 0.8335 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.6274, allocations: 1.165 MB / 0.8346 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.6289, allocations: 0.8601 MB / 0.8355 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.6301, allocations: 436.7 kB / 0.8359 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.6315, allocations: 1.267 MB / 0.8371 GB, free: 15.33 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008695/0.6324, allocations: 0.6853 MB / 0.8378 GB, free: 14.64 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007656/0.6332, allocations: 0.5529 MB / 0.8383 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.6343, allocations: 0.9139 MB / 0.8392 GB, free: 13.17 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.6344, allocations: 64 kB / 0.8393 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.6347, allocations: 111.9 kB / 0.8394 GB, free: 13 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.635, allocations: 324.7 kB / 0.8397 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.6355, allocations: 492.8 kB / 0.8402 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.6366, allocations: 1.203 MB / 0.8413 GB, free: 10.99 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.6366, allocations: 0 / 0.8413 GB, free: 10.99 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6367, allocations: 0 / 0.8413 GB, free: 10.99 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.383e-05/0.6367, allocations: 0 / 0.8413 GB, free: 10.99 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.002472/0.6392, allocations: 1.471 MB / 0.8428 GB, free: 9.469 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.6392, allocations: 12.03 kB / 0.8428 GB, free: 9.457 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.6393, allocations: 86.7 kB / 0.8429 GB, free: 9.363 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.6396, allocations: 134.9 kB / 0.843 GB, free: 9.23 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009288/0.6405, allocations: 0.6586 MB / 0.8436 GB, free: 8.516 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.6406, allocations: 74.62 kB / 0.8437 GB, free: 8.438 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.971e-05/0.6407, allocations: 44 kB / 0.8437 GB, free: 8.395 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009859/0.6417, allocations: 0.5223 MB / 0.8443 GB, free: 7.863 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.6418, allocations: 0 / 0.8443 GB, free: 7.863 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.6418, allocations: 20 kB / 0.8443 GB, free: 7.844 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.6419, allocations: 15.94 kB / 0.8443 GB, free: 7.828 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.6427, allocations: 411.7 kB / 0.8447 GB, free: 7.422 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.003629/0.6464, allocations: 2.792 MB / 0.8474 GB, free: 4.383 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.6474, allocations: 462 kB / 0.8479 GB, free: 3.926 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.648, allocations: 286.2 kB / 0.8481 GB, free: 3.645 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.648, allocations: 4.328 kB / 0.8481 GB, free: 3.641 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/0.6486, allocations: 307.6 kB / 0.8484 GB, free: 3.332 MB / 0.67 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.6486, allocations: 0 / 0.8484 GB, free: 3.332 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.002843/0.6514, allocations: 1.241 MB / 0.8496 GB, free: 2.039 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.6515, allocations: 63.41 kB / 0.8497 GB, free: 1.965 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.6533, allocations: 1.748 MB / 0.8514 GB, free: 212 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.6534, allocations: 37.7 kB / 0.8514 GB, free: 168 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.6538, allocations: 0.5219 MB / 0.8519 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.6539, allocations: 145.9 kB / 0.8521 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.6541, allocations: 94.25 kB / 0.8522 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6542, allocations: 333.9 kB / 0.8525 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.6547, allocations: 221 kB / 0.8527 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.6552, allocations: 328 kB / 0.853 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008763/0.6561, allocations: 0.512 MB / 0.8535 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6561, allocations: 0 / 0.8535 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00161/0.6577, allocations: 0.841 MB / 0.8543 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6578, allocations: 6.031 kB / 0.8543 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6578, allocations: 11.94 kB / 0.8544 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.6583, allocations: 188.6 kB / 0.8545 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.6587, allocations: 91.88 kB / 0.8546 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/0.6622, allocations: 3.002 MB / 0.8576 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.6627, allocations: 75.55 kB / 0.8576 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.6627, allocations: 20 kB / 0.8576 GB, free: 9.574 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.0004568/0.6632, allocations: 384.7 kB / 0.858 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.6633, allocations: 114.5 kB / 0.8581 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.6635, allocations: 147.6 kB / 0.8583 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.6635, allocations: 8 kB / 0.8583 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.6636, allocations: 4 kB / 0.8583 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.6636, allocations: 0 / 0.8583 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.6661, allocations: 1.568 MB / 0.8598 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6661, allocations: 3.938 kB / 0.8598 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.6663, allocations: 39.97 kB / 0.8598 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004922/0.6668, allocations: 189.6 kB / 0.86 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.6669, allocations: 15.98 kB / 0.86 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004374/0.6712, allocations: 4.558 MB / 0.8645 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6713, allocations: 0 / 0.8645 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.6731, allocations: 1.055 MB / 0.8655 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.6734, allocations: 211.6 kB / 0.8657 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6735, allocations: 12 kB / 0.8657 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.6738, allocations: 31.97 kB / 0.8658 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.674, allocations: 51.86 kB / 0.8658 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.674, allocations: 19.98 kB / 0.8658 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.3325/1.007, allocations: 1.277 MB / 0.8671 GB, free: 55.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.31e-07/1.007, allocations: 0 / 0.8671 GB, free: 55.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009867/1.008, allocations: 203.9 kB / 0.8673 GB, free: 55.7 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.00302/1.011, allocations: 1.983 MB / 0.8692 GB, free: 55.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.012, allocations: 0.7123 MB / 0.8699 GB, free: 54.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.012, allocations: 2.953 kB / 0.8699 GB, free: 54.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008479/1.013, allocations: 0.5572 MB / 0.8705 GB, free: 54.66 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/1.014, allocations: 191.1 kB / 0.8706 GB, free: 54.64 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.027, allocations: 8.567 MB / 0.879 GB, free: 52.44 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/1.028, allocations: 1.157 MB / 0.8801 GB, free: 51.73 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000326/1.028, allocations: 93.38 kB / 0.8802 GB, free: 51.71 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/1.028, allocations: 404.5 kB / 0.8806 GB, free: 51.71 MB / 0.6856 GB Notification: Performance of SimCode: time 1.412e-06/1.028, allocations: 0 / 0.8806 GB, free: 51.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07142/1.1, allocations: 21.57 MB / 0.9017 GB, free: 49.51 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.38, allocations: 6.219 kB / 0.9017 GB, free: 49.51 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)