Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.001867/0.001867, allocations: 193.2 kB / 17.29 MB, free: 5.48 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.37/1.37, 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.7982/0.7982, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3692, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5562/0.9254, allocations: 202.1 MB / 0.7788 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.9469, allocations: 15.13 MB / 0.7936 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005376/0.9524, allocations: 97.72 kB / 0.7937 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002941/0.9553, allocations: 1.298 MB / 0.795 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007671/0.9631, allocations: 2.642 MB / 0.7975 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005242/0.9683, allocations: 2.187 MB / 0.7997 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007986/0.9763, allocations: 6.698 MB / 0.8062 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006703/0.9831, allocations: 5.53 MB / 0.8116 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004646/0.9877, allocations: 2.625 MB / 0.8142 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/0.9929, allocations: 3.096 MB / 0.8172 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.994, allocations: 0.5751 MB / 0.8178 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004535/0.9986, allocations: 1.944 MB / 0.8197 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001711/1, allocations: 1.613 MB / 0.8212 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003922/1.004, allocations: 2.651 MB / 0.8238 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009912/1.014, allocations: 7.753 MB / 0.8314 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.014, allocations: 0 / 0.8314 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/1.014, allocations: 0 / 0.8314 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002561/1.015, allocations: 1.062 kB / 0.8314 GB, free: 7.762 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01265/1.027, allocations: 5.625 MB / 0.8369 GB, free: 4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.027, allocations: 15.08 kB / 0.8369 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/1.042, allocations: 2.993 MB / 0.8398 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006222/1.048, allocations: 2.736 MB / 0.8425 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/1.048, allocations: 317.4 kB / 0.8428 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008138/1.049, allocations: 404 kB / 0.8432 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/1.065, allocations: 6.214 MB / 0.8493 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/1.065, allocations: 11.92 kB / 0.8493 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004383/1.065, allocations: 176 kB / 0.8494 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.066, allocations: 143.2 kB / 0.8496 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/1.081, allocations: 7.324 MB / 0.8567 GB, free: 15.73 MB / 0.6231 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.03375/1.115, allocations: 18.74 MB / 0.875 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/1.125, allocations: 4.819 MB / 0.8797 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006618/1.132, allocations: 3.167 MB / 0.8828 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/1.133, allocations: 0.6981 MB / 0.8835 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006477/1.139, allocations: 2.93 MB / 0.8864 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=345): time 5.71e-06/1.139, allocations: 0 / 0.8864 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347): time 0.04237/1.182, allocations: 16.25 MB / 0.9022 GB, free: 456 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/1.182, allocations: 222.6 kB / 0.9025 GB, free: 188 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00461/1.187, allocations: 2.896 MB / 0.9053 GB, free: 13.27 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000558/1.187, allocations: 89.7 kB / 0.9054 GB, free: 13.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001557/1.189, allocations: 1.676 MB / 0.907 GB, free: 11.48 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.19, allocations: 1.151 MB / 0.9081 GB, free: 10.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/1.191, allocations: 0.5846 MB / 0.9087 GB, free: 9.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/1.191, allocations: 305.1 kB / 0.909 GB, free: 9.449 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005258/1.196, allocations: 2.332 MB / 0.9113 GB, free: 7.113 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005752/1.202, allocations: 2.695 MB / 0.9139 GB, free: 4.355 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3633/1.566, allocations: 86.69 MB / 0.9986 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/1.566, allocations: 3.938 kB / 0.9986 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01433/1.58, allocations: 6.203 MB / 1.005 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/1.58, allocations: 37.7 kB / 1.005 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.58, allocations: 4 kB / 1.005 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/1.582, allocations: 0.8239 MB / 1.005 GB, free: 6.402 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/1.586, allocations: 0.8649 MB / 1.006 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/1.597, allocations: 7.493 MB / 1.014 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004652/1.602, allocations: 449.4 kB / 1.014 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008619/1.603, allocations: 127.9 kB / 1.014 GB, free: 13.4 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 1 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003339/1.606, allocations: 1.135 MB / 1.015 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.608, allocations: 343.8 kB / 1.016 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/1.624, allocations: 6.765 MB / 1.022 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.624, allocations: 36 kB / 1.022 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/1.624, allocations: 8 kB / 1.022 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01261/1.637, allocations: 5.923 MB / 1.028 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02423/1.661, allocations: 11.72 MB / 1.039 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/1.661, allocations: 7.984 kB / 1.04 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004467/1.666, allocations: 0.8473 MB / 1.04 GB, free: 2.516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/1.667, allocations: 0.6967 MB / 1.041 GB, free: 1.812 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004886/1.668, allocations: 99.92 kB / 1.041 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2929/1.961, allocations: 10.05 MB / 1.051 GB, free: 366 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.961, allocations: 3.812 kB / 1.051 GB, free: 366 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/1.98, allocations: 9.807 MB / 1.06 GB, free: 362.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002266/1.982, allocations: 0.9073 MB / 1.061 GB, free: 362.3 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/1.983, allocations: 83.97 kB / 1.061 GB, free: 362.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.986, allocations: 435.3 kB / 1.062 GB, free: 362.2 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005698/1.987, allocations: 246.2 kB / 1.062 GB, free: 362.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/1.987, allocations: 122.1 kB / 1.062 GB, free: 362.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002389/1.99, allocations: 2.103 MB / 1.064 GB, free: 361.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.01e-07/1.99, allocations: 0.8438 kB / 1.064 GB, free: 361.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002712/1.992, allocations: 1.103 MB / 1.065 GB, free: 361.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.002383/1.995, allocations: 1.063 MB / 1.066 GB, free: 361.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01056/2.005, allocations: 5.932 MB / 1.072 GB, free: 358.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/2.005, allocations: 0 / 1.072 GB, free: 358.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.005842/2.011, allocations: 3.556 MB / 1.076 GB, free: 356 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/2.015, allocations: 1.027 MB / 1.077 GB, free: 355.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/2.029, allocations: 9.851 MB / 1.086 GB, free: 345.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/2.031, allocations: 2.918 MB / 1.089 GB, free: 342.6 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003853/2.035, allocations: 1.274 MB / 1.09 GB, free: 341.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/2.036, allocations: 303.1 kB / 1.091 GB, free: 341.1 MB / 0.795 GB Notification: Performance of SimCode: time 1.844e-06/2.036, allocations: 4 kB / 1.091 GB, free: 341.1 MB / 0.795 GB Notification: Performance of Templates: time 0.07749/2.114, allocations: 62.9 MB / 1.152 GB, free: 278.9 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)