Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.005718/0.005718, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001386/0.001386, allocations: 193.1 kB / 16.67 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 70.52 kB / 0.5809 GB, free: 1.164 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1541, allocations: 80.21 MB / 0.6592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1701/0.3243, allocations: 156.7 MB / 0.8122 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4196/0.744, allocations: 21.72 MB / 0.8334 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.7457, allocations: 55.44 kB / 0.8335 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.7475, allocations: 1.162 MB / 0.8346 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.749, allocations: 0.8543 MB / 0.8355 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.7502, allocations: 442 kB / 0.8359 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.7514, allocations: 1.255 MB / 0.8371 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.7521, allocations: 0.6881 MB / 0.8378 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006135/0.7527, allocations: 0.553 MB / 0.8383 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009435/0.7537, allocations: 0.9157 MB / 0.8392 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.7538, allocations: 65.69 kB / 0.8393 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.7541, allocations: 109.6 kB / 0.8394 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.7544, allocations: 325.2 kB / 0.8397 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.7548, allocations: 491.8 kB / 0.8402 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.7558, allocations: 1.202 MB / 0.8413 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7558, allocations: 0 / 0.8413 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7559, allocations: 1 kB / 0.8413 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.7559, allocations: 0 / 0.8413 GB, free: 2.434 MB / 0.6387 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.001871/0.7577, allocations: 1.482 MB / 0.8428 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.7578, allocations: 15.06 kB / 0.8428 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.971e-05/0.7579, allocations: 80.14 kB / 0.8429 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.758, allocations: 131 kB / 0.843 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.7587, allocations: 0.6651 MB / 0.8436 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.7588, allocations: 73.06 kB / 0.8437 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.7589, allocations: 47.34 kB / 0.8438 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.7597, allocations: 0.5172 MB / 0.8443 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.7598, allocations: 5.281 kB / 0.8443 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.7598, allocations: 17.12 kB / 0.8443 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.7598, allocations: 10.66 kB / 0.8443 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/0.7605, allocations: 414 kB / 0.8447 GB, free: 0.9766 MB / 0.6387 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.002934/0.7635, allocations: 2.721 MB / 0.8473 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.7643, allocations: 443.2 kB / 0.8478 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.7649, allocations: 305.5 kB / 0.8481 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.765, allocations: 14.44 kB / 0.8481 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/0.7654, allocations: 282.4 kB / 0.8483 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 1.874e-06/0.7654, allocations: 0 / 0.8483 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.002335/0.7678, allocations: 1.15 MB / 0.8495 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.7678, allocations: 57.06 kB / 0.8495 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.7694, allocations: 1.76 MB / 0.8512 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.7694, allocations: 38.27 kB / 0.8513 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.7698, allocations: 0.532 MB / 0.8518 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.7699, allocations: 146.2 kB / 0.8519 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.77, allocations: 99.78 kB / 0.852 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7701, allocations: 327.7 kB / 0.8523 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.7706, allocations: 211.9 kB / 0.8525 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.771, allocations: 335.5 kB / 0.8529 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007888/0.7718, allocations: 0.5214 MB / 0.8534 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7719, allocations: 3.281 kB / 0.8534 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001329/0.7732, allocations: 0.8056 MB / 0.8542 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7732, allocations: 11.84 kB / 0.8542 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7732, allocations: 2.812 kB / 0.8542 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.7736, allocations: 138.3 kB / 0.8543 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.774, allocations: 105.4 kB / 0.8544 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.7766, allocations: 2.609 MB / 0.857 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.777, allocations: 73.31 kB / 0.857 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.777, allocations: 25.92 kB / 0.8571 GB, free: 12.39 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004037/0.7774, allocations: 380.8 kB / 0.8574 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7776, allocations: 124.4 kB / 0.8575 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.7778, allocations: 139.5 kB / 0.8577 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.7778, allocations: 5.906 kB / 0.8577 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.7778, allocations: 2.281 kB / 0.8577 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7778, allocations: 2.625 kB / 0.8577 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.7799, allocations: 1.495 MB / 0.8591 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7799, allocations: 0 / 0.8591 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.7801, allocations: 43.62 kB / 0.8592 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.7805, allocations: 168.7 kB / 0.8593 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.7805, allocations: 13.22 kB / 0.8594 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/0.7838, allocations: 4.02 MB / 0.8633 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.7839, allocations: 4 kB / 0.8633 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.7854, allocations: 0.9837 MB / 0.8642 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.7857, allocations: 212.5 kB / 0.8644 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.7858, allocations: 12.78 kB / 0.8645 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.7861, allocations: 36.92 kB / 0.8645 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.7862, allocations: 56.33 kB / 0.8645 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.7863, allocations: 21.08 kB / 0.8646 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001288/0.7875, allocations: 1.287 MB / 0.8658 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7876, allocations: 0.9688 kB / 0.8658 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007095/0.7883, allocations: 197.5 kB / 0.866 GB, free: 8.41 MB / 0.6544 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,12,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.002739/0.791, allocations: 1.904 MB / 0.8679 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.7923, allocations: 0.6583 MB / 0.8685 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7923, allocations: 0 / 0.8685 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007403/0.793, allocations: 0.5266 MB / 0.869 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.794, allocations: 211.4 kB / 0.8692 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.8063, allocations: 8.496 MB / 0.8775 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.8072, allocations: 1.15 MB / 0.8787 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003321/0.8075, allocations: 93.47 kB / 0.8787 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.8079, allocations: 412.5 kB / 0.8791 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.808, allocations: 0 / 0.8791 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05217/0.8601, allocations: 21.17 MB / 0.8998 GB, free: 7.516 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.08, allocations: 8 kB / 0.8998 GB, free: 7.508 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)