Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_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.007179/0.007179, allocations: 98.91 kB / 15.73 MB, free: 5.984 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.001335/0.001335, allocations: 197.8 kB / 16.68 MB, free: 5.922 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9436/0.9436, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.91 kB / 0.5851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3871, allocations: 80.91 MB / 0.6641 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1602/0.5474, allocations: 156.7 MB / 0.8172 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.5724, allocations: 21.74 MB / 0.8384 GB, free: 14.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.5743, allocations: 55.69 kB / 0.8385 GB, free: 14.43 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.576, allocations: 1.161 MB / 0.8396 GB, free: 13.26 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.5773, allocations: 0.8523 MB / 0.8404 GB, free: 12.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.5784, allocations: 441 kB / 0.8408 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.5796, allocations: 1.263 MB / 0.8421 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007592/0.5804, allocations: 0.6891 MB / 0.8428 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.581, allocations: 0.5491 MB / 0.8433 GB, free: 9.469 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/0.582, allocations: 0.9138 MB / 0.8442 GB, free: 8.555 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.5821, allocations: 64 kB / 0.8442 GB, free: 8.492 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.5824, allocations: 111.9 kB / 0.8443 GB, free: 8.383 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.5826, allocations: 320.7 kB / 0.8447 GB, free: 8.066 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.583, allocations: 0.489 MB / 0.8451 GB, free: 7.574 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.5842, allocations: 1.199 MB / 0.8463 GB, free: 6.371 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5842, allocations: 0 / 0.8463 GB, free: 6.371 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5842, allocations: 4 kB / 0.8463 GB, free: 6.367 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5842, allocations: 0 / 0.8463 GB, free: 6.367 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.002167/0.5864, allocations: 1.475 MB / 0.8477 GB, free: 4.84 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.5865, allocations: 8.031 kB / 0.8478 GB, free: 4.832 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.265e-05/0.5866, allocations: 86.7 kB / 0.8478 GB, free: 4.738 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.5867, allocations: 138.9 kB / 0.848 GB, free: 4.602 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.5875, allocations: 0.6586 MB / 0.8486 GB, free: 3.891 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.5877, allocations: 82.61 kB / 0.8487 GB, free: 3.801 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.5877, allocations: 48 kB / 0.8487 GB, free: 3.754 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.5886, allocations: 0.5145 MB / 0.8492 GB, free: 3.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.5887, allocations: 4 kB / 0.8492 GB, free: 3.227 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.5887, allocations: 16 kB / 0.8493 GB, free: 3.211 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5887, allocations: 15.88 kB / 0.8493 GB, free: 3.195 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007994/0.5895, allocations: 407.7 kB / 0.8497 GB, free: 2.797 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.003323/0.5929, allocations: 2.796 MB / 0.8524 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000973/0.5938, allocations: 455.3 kB / 0.8528 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.5944, allocations: 286.9 kB / 0.8531 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.5945, allocations: 4.328 kB / 0.8531 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/0.595, allocations: 294.8 kB / 0.8534 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.595, allocations: 0 / 0.8534 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.002872/0.5979, allocations: 1.247 MB / 0.8546 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.5979, allocations: 59.39 kB / 0.8547 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.5996, allocations: 1.744 MB / 0.8564 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.5997, allocations: 37.7 kB / 0.8564 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.6001, allocations: 0.5218 MB / 0.8569 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.6002, allocations: 149.9 kB / 0.8571 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.6003, allocations: 94.25 kB / 0.8571 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6005, allocations: 333.9 kB / 0.8575 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.6009, allocations: 220.9 kB / 0.8577 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.6015, allocations: 324.9 kB / 0.858 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.6024, allocations: 0.5076 MB / 0.8585 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6024, allocations: 0 / 0.8585 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001573/0.604, allocations: 0.8417 MB / 0.8593 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.604, allocations: 4 kB / 0.8593 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.604, allocations: 7.938 kB / 0.8593 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/0.6045, allocations: 199.4 kB / 0.8595 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.6049, allocations: 87.88 kB / 0.8596 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.6082, allocations: 2.996 MB / 0.8625 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.6086, allocations: 79.42 kB / 0.8626 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.6087, allocations: 24.06 kB / 0.8626 GB, free: 4.961 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.0004175/0.6091, allocations: 379.3 kB / 0.863 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6092, allocations: 114.5 kB / 0.8631 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.6094, allocations: 143.7 kB / 0.8632 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6094, allocations: 4 kB / 0.8632 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.6095, allocations: 8 kB / 0.8632 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.6095, allocations: 3.984 kB / 0.8632 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.6119, allocations: 1.57 MB / 0.8648 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.612, allocations: 0 / 0.8648 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.6122, allocations: 47.91 kB / 0.8648 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.6127, allocations: 192.4 kB / 0.865 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.6127, allocations: 15.98 kB / 0.865 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2807/0.8934, allocations: 4.532 MB / 0.8694 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8934, allocations: 2.125 kB / 0.8694 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.8954, allocations: 1.059 MB / 0.8705 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.8957, allocations: 219 kB / 0.8707 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.8958, allocations: 17.62 kB / 0.8707 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.8961, allocations: 29.67 kB / 0.8707 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.8963, allocations: 53.75 kB / 0.8708 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.8963, allocations: 18.09 kB / 0.8708 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001423/0.8977, allocations: 1.28 MB / 0.872 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8977, allocations: 0 / 0.872 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007794/0.8985, allocations: 199.5 kB / 0.8722 GB, free: 190.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.002956/0.9015, allocations: 1.985 MB / 0.8742 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.903, allocations: 0.7176 MB / 0.8749 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.903, allocations: 0 / 0.8749 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.9039, allocations: 0.556 MB / 0.8754 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/0.9049, allocations: 209.8 kB / 0.8756 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.9163, allocations: 8.577 MB / 0.884 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.9169, allocations: 1.151 MB / 0.8851 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003191/0.9172, allocations: 88.78 kB / 0.8852 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.9175, allocations: 403.6 kB / 0.8856 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.9175, allocations: 0 / 0.8856 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04815/0.9657, allocations: 21.58 MB / 0.9067 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.06, allocations: 4.391 kB / 0.9067 GB, free: 171.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)