Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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: translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001011, allocations: 100.1 kB / 16.35 MB, free: 5.828 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.0009535/0.0009536, allocations: 192.3 kB / 17.29 MB, free: 5.484 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.312/1.312, 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-master/package.mo): time 0.7984/0.7984, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.89 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3934, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1643/0.5577, allocations: 157.2 MB / 0.7393 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4351/0.9928, allocations: 21.97 MB / 0.7608 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.9955, allocations: 60.12 kB / 0.7608 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.9985, allocations: 2.15 MB / 0.7629 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002732/1.001, allocations: 1.415 MB / 0.7643 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/1.003, allocations: 0.5832 MB / 0.7649 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003109/1.006, allocations: 1.825 MB / 0.7667 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/1.008, allocations: 1.093 MB / 0.7677 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/1.009, allocations: 0.8758 MB / 0.7686 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/1.011, allocations: 1.546 MB / 0.7701 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/1.011, allocations: 90.56 kB / 0.7702 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/1.011, allocations: 132.4 kB / 0.7703 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005715/1.012, allocations: 0.5279 MB / 0.7708 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009173/1.013, allocations: 0.7586 MB / 0.7716 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/1.015, allocations: 1.863 MB / 0.7734 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.015, allocations: 0 / 0.7734 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/1.015, allocations: 4.344 kB / 0.7734 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.022e-05/1.015, allocations: 3.938 kB / 0.7734 GB, free: 0.9609 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003127/1.018, allocations: 2.28 MB / 0.7756 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.018, allocations: 12.61 kB / 0.7756 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/1.018, allocations: 225.4 kB / 0.7758 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/1.02, allocations: 1.007 MB / 0.7768 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.02, allocations: 89.28 kB / 0.7769 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.02, allocations: 65.97 kB / 0.777 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.021, allocations: 0.727 MB / 0.7777 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/1.021, allocations: 11.84 kB / 0.7777 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/1.021, allocations: 28.88 kB / 0.7777 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/1.021, allocations: 14.59 kB / 0.7777 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.022, allocations: 0.5966 MB / 0.7783 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/1.027, allocations: 3.499 MB / 0.7817 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/1.028, allocations: 0.706 MB / 0.7824 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/1.029, allocations: 410.3 kB / 0.7828 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/1.029, allocations: 15.23 kB / 0.7828 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000746/1.03, allocations: 433.4 kB / 0.7832 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/1.03, allocations: 1 kB / 0.7832 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003849/1.033, allocations: 1.795 MB / 0.785 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/1.033, allocations: 66.45 kB / 0.7851 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/1.037, allocations: 3.306 MB / 0.7883 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/1.037, allocations: 48.59 kB / 0.7883 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006834/1.037, allocations: 0.8897 MB / 0.7892 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/1.038, allocations: 220.7 kB / 0.7894 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/1.038, allocations: 129.8 kB / 0.7895 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.038, allocations: 335.4 kB / 0.7899 GB, free: 12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/1.039, allocations: 306 kB / 0.7902 GB, free: 12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/1.039, allocations: 442 kB / 0.7906 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.04, allocations: 0.7154 MB / 0.7913 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.04, allocations: 6.062 kB / 0.7913 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001949/1.042, allocations: 1.216 MB / 0.7925 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.042, allocations: 11.25 kB / 0.7925 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/1.042, allocations: 2.438 kB / 0.7925 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/1.043, allocations: 266.3 kB / 0.7927 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/1.043, allocations: 132.1 kB / 0.7929 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/1.048, allocations: 4.746 MB / 0.7975 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/1.049, allocations: 94.5 kB / 0.7976 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/1.049, allocations: 34.42 kB / 0.7976 GB, free: 8.617 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007621/1.05, allocations: 0.5995 MB / 0.7982 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.05, allocations: 208.4 kB / 0.7984 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/1.05, allocations: 249.2 kB / 0.7986 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.05, allocations: 8.5 kB / 0.7986 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/1.05, allocations: 3.094 kB / 0.7987 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.05, allocations: 4.078 kB / 0.7987 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/1.054, allocations: 2.341 MB / 0.8009 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.054, allocations: 4.906 kB / 0.8009 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/1.054, allocations: 68.03 kB / 0.801 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005732/1.055, allocations: 248.4 kB / 0.8012 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/1.055, allocations: 21.8 kB / 0.8013 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004563/1.059, allocations: 4.756 MB / 0.8059 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.059, allocations: 0 / 0.8059 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/1.062, allocations: 1.578 MB / 0.8075 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/1.062, allocations: 311.4 kB / 0.8078 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/1.062, allocations: 23.67 kB / 0.8078 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/1.063, allocations: 37.06 kB / 0.8078 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.063, allocations: 71.56 kB / 0.8079 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/1.063, allocations: 26.83 kB / 0.8079 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002396/1.065, allocations: 2.428 MB / 0.8103 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.065, allocations: 0 / 0.8103 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008377/1.066, allocations: 291.6 kB / 0.8106 GB, free: 4.355 MB / 0.5919 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.00111/1.067, allocations: 492 kB / 0.811 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001744/1.069, allocations: 1.056 MB / 0.8121 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.069, allocations: 0 / 0.8121 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009079/1.07, allocations: 0.6873 MB / 0.8127 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/1.071, allocations: 285.8 kB / 0.813 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/1.076, allocations: 4.001 MB / 0.8169 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.077, allocations: 1.522 MB / 0.8184 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003969/1.077, allocations: 154.3 kB / 0.8185 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/1.078, allocations: 66.92 kB / 0.8186 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/1.078, allocations: 0 / 0.8186 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.02601/1.104, allocations: 14.4 MB / 0.8327 GB, free: 3.016 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)