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: translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001255/0.001255, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.81 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1418, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5237/0.6656, allocations: 156.7 MB / 0.8134 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02663/0.6922, allocations: 21.74 MB / 0.8346 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.695, allocations: 54.94 kB / 0.8346 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.6969, allocations: 1.154 MB / 0.8358 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.6989, allocations: 0.8585 MB / 0.8366 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.7004, allocations: 446.1 kB / 0.837 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.7025, allocations: 1.265 MB / 0.8383 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.7037, allocations: 0.6817 MB / 0.8389 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.7049, allocations: 0.547 MB / 0.8395 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.7063, allocations: 0.9168 MB / 0.8404 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.7065, allocations: 69.17 kB / 0.8404 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.7069, allocations: 106.5 kB / 0.8405 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.7073, allocations: 325.2 kB / 0.8408 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006368/0.708, allocations: 487.9 kB / 0.8413 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.7094, allocations: 1.193 MB / 0.8425 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7094, allocations: 6.062 kB / 0.8425 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7095, allocations: 0 / 0.8425 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.032e-05/0.7095, allocations: 0 / 0.8425 GB, free: 7.746 MB / 0.6075 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.003071/0.7126, allocations: 1.485 MB / 0.8439 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7127, allocations: 14.12 kB / 0.8439 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.7129, allocations: 134.2 kB / 0.8441 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.714, allocations: 0.6555 MB / 0.8447 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.7141, allocations: 75.91 kB / 0.8448 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.7142, allocations: 44.47 kB / 0.8448 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009824/0.7152, allocations: 0.5279 MB / 0.8453 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.7153, allocations: 6.734 kB / 0.8453 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.7153, allocations: 13.81 kB / 0.8454 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.7153, allocations: 14.5 kB / 0.8454 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008405/0.7162, allocations: 410.9 kB / 0.8458 GB, free: 5.34 MB / 0.6075 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.003834/0.72, allocations: 2.797 MB / 0.8485 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/0.721, allocations: 455.7 kB / 0.8489 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.7216, allocations: 290.7 kB / 0.8492 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.7217, allocations: 5.484 kB / 0.8492 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005724/0.7222, allocations: 305.9 kB / 0.8495 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/0.7222, allocations: 0 / 0.8495 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002958/0.7252, allocations: 1.236 MB / 0.8507 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.7253, allocations: 60.44 kB / 0.8508 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.7273, allocations: 1.747 MB / 0.8525 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.7274, allocations: 45.69 kB / 0.8525 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.7277, allocations: 0.5102 MB / 0.853 GB, free: 32 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.7279, allocations: 154 kB / 0.8532 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.7281, allocations: 94.25 kB / 0.8532 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7282, allocations: 330 kB / 0.8536 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.7287, allocations: 224.9 kB / 0.8538 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.7293, allocations: 324.9 kB / 0.8541 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.7302, allocations: 0.5044 MB / 0.8546 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.7302, allocations: 3.938 kB / 0.8546 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001667/0.7319, allocations: 0.8391 MB / 0.8554 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7319, allocations: 8.438 kB / 0.8554 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.7319, allocations: 4.125 kB / 0.8554 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005258/0.7324, allocations: 188.6 kB / 0.8556 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.7328, allocations: 95.88 kB / 0.8557 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.7363, allocations: 3 MB / 0.8586 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.7369, allocations: 75.55 kB / 0.8587 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.7369, allocations: 23.98 kB / 0.8587 GB, free: 9.957 MB / 0.6231 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.0005789/0.7375, allocations: 383.3 kB / 0.8591 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.7377, allocations: 118.5 kB / 0.8592 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.738, allocations: 139.7 kB / 0.8593 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.738, allocations: 4 kB / 0.8593 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.7381, allocations: 8 kB / 0.8593 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7381, allocations: 3.984 kB / 0.8593 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.7406, allocations: 1.564 MB / 0.8609 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7406, allocations: 0 / 0.8609 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.7409, allocations: 47.91 kB / 0.8609 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.7414, allocations: 198.7 kB / 0.8611 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.7414, allocations: 11.98 kB / 0.8611 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/0.7457, allocations: 4.558 MB / 0.8656 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7457, allocations: 0 / 0.8656 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.7476, allocations: 1.055 MB / 0.8666 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.748, allocations: 211.6 kB / 0.8668 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.7481, allocations: 15.98 kB / 0.8668 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.7485, allocations: 27.97 kB / 0.8668 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.7486, allocations: 51.92 kB / 0.8669 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.7486, allocations: 16 kB / 0.8669 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001457/0.7501, allocations: 1.281 MB / 0.8681 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7501, allocations: 0 / 0.8681 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008354/0.751, allocations: 211.5 kB / 0.8684 GB, free: 15.68 MB / 0.6387 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.00113/0.7521, allocations: 477.5 kB / 0.8688 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.7537, allocations: 0.7274 MB / 0.8695 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.7537, allocations: 128 / 0.8695 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008898/0.7546, allocations: 0.5515 MB / 0.8701 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.7557, allocations: 215.5 kB / 0.8703 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.7596, allocations: 2.409 MB / 0.8726 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.7604, allocations: 1.142 MB / 0.8737 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.7606, allocations: 47.42 kB / 0.8738 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.7606, allocations: 0 / 0.8738 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.02441/0.785, allocations: 17.83 MB / 0.8912 GB, free: 8.457 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (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 & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)