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=336,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,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.007081/0.007081, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001614/0.001614, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.66/1.66, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8156/0.8156, allocations: 132.2 MB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 58.7 kB / 0.5814 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1861, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.643/0.8292, allocations: 202.1 MB / 0.857 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02474/0.854, allocations: 15.13 MB / 0.8718 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006807/0.8609, allocations: 93.75 kB / 0.8719 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004157/0.865, allocations: 1.322 MB / 0.8732 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.8756, allocations: 2.731 MB / 0.8759 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007256/0.8829, allocations: 2.195 MB / 0.878 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.8939, allocations: 6.698 MB / 0.8845 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008671/0.9027, allocations: 5.535 MB / 0.8899 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007082/0.9098, allocations: 2.656 MB / 0.8925 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007135/0.917, allocations: 3.101 MB / 0.8956 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002089/0.9191, allocations: 0.5692 MB / 0.8961 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00678/0.9259, allocations: 1.947 MB / 0.898 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002562/0.9285, allocations: 1.623 MB / 0.8996 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006147/0.9346, allocations: 2.648 MB / 0.9022 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.949, allocations: 7.753 MB / 0.9098 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.9491, allocations: 2.281 kB / 0.9098 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.406e-06/0.9491, allocations: 0 / 0.9098 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003676/0.9495, allocations: 0 / 0.9098 GB, free: 4.773 MB / 0.6544 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.01763/0.9671, allocations: 5.632 MB / 0.9153 GB, free: 480 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.9672, allocations: 12.03 kB / 0.9153 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.9833, allocations: 2.991 MB / 0.9182 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007803/0.9911, allocations: 2.742 MB / 0.9209 GB, free: 10.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.9914, allocations: 312.2 kB / 0.9212 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.9924, allocations: 404 kB / 0.9216 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/1.009, allocations: 6.22 MB / 0.9276 GB, free: 3.773 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.769e-05/1.009, allocations: 4 kB / 0.9276 GB, free: 3.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004816/1.01, allocations: 170.2 kB / 0.9278 GB, free: 3.605 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/1.01, allocations: 148 kB / 0.9279 GB, free: 3.457 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/1.029, allocations: 7.322 MB / 0.9351 GB, free: 12.12 MB / 0.6856 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.04409/1.073, allocations: 18.77 MB / 0.9534 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.085, allocations: 4.799 MB / 0.9581 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007574/1.093, allocations: 3.167 MB / 0.9612 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/1.094, allocations: 0.7086 MB / 0.9619 GB, free: 180 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007704/1.102, allocations: 2.923 MB / 0.9647 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=345): time 6.802e-06/1.102, allocations: 0 / 0.9647 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347): time 0.04646/1.148, allocations: 16.24 MB / 0.9806 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/1.149, allocations: 218.7 kB / 0.9808 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005781/1.154, allocations: 2.899 MB / 0.9836 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000852/1.155, allocations: 89.7 kB / 0.9837 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.157, allocations: 1.679 MB / 0.9854 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.159, allocations: 1.152 MB / 0.9865 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002208/1.161, allocations: 0.5884 MB / 0.9871 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.162, allocations: 301.1 kB / 0.9874 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006111/1.168, allocations: 2.336 MB / 0.9896 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00657/1.174, allocations: 2.691 MB / 0.9923 GB, free: 0.7305 MB / 0.7325 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.3773/1.552, allocations: 86.69 MB / 1.077 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.552, allocations: 0 / 1.077 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01804/1.57, allocations: 6.202 MB / 1.083 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.784e-05/1.57, allocations: 41.78 kB / 1.083 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.57, allocations: 4 kB / 1.083 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/1.572, allocations: 0.8278 MB / 1.084 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/1.577, allocations: 0.8618 MB / 1.085 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.589, allocations: 7.485 MB / 1.092 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005118/1.594, allocations: 444.1 kB / 1.092 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009686/1.595, allocations: 127.9 kB / 1.093 GB, free: 9.785 MB / 0.8419 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.003918/1.599, allocations: 1.137 MB / 1.094 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.601, allocations: 343.8 kB / 1.094 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/1.62, allocations: 6.767 MB / 1.101 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/1.62, allocations: 40 kB / 1.101 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.091e-05/1.62, allocations: 8 kB / 1.101 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01505/1.635, allocations: 5.916 MB / 1.106 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02977/1.665, allocations: 11.72 MB / 1.118 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/1.665, allocations: 6.719 kB / 1.118 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004885/1.67, allocations: 0.8514 MB / 1.119 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/1.672, allocations: 0.6981 MB / 1.119 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007318/1.673, allocations: 99.86 kB / 1.119 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/1.686, allocations: 10.04 MB / 1.129 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.686, allocations: 14.61 kB / 1.129 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4186/2.104, allocations: 9.807 MB / 1.139 GB, free: 371.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/2.107, allocations: 0.9089 MB / 1.14 GB, free: 370.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/2.108, allocations: 84.12 kB / 1.14 GB, free: 370.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003733/2.112, allocations: 431.8 kB / 1.14 GB, free: 370.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006398/2.112, allocations: 251.1 kB / 1.14 GB, free: 370.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003201/2.113, allocations: 121 kB / 1.141 GB, free: 370.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003333/2.116, allocations: 2.107 MB / 1.143 GB, free: 369.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.2e-07/2.116, allocations: 0 / 1.143 GB, free: 369.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003601/2.12, allocations: 1.094 MB / 1.144 GB, free: 369.8 MB / 0.8731 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.002456/2.122, allocations: 1.058 MB / 1.145 GB, free: 369.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01244/2.135, allocations: 5.937 MB / 1.151 GB, free: 367.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/2.135, allocations: 6.031 kB / 1.151 GB, free: 367.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.006634/2.141, allocations: 3.557 MB / 1.154 GB, free: 366.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004727/2.146, allocations: 1.027 MB / 1.155 GB, free: 366.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/2.161, allocations: 9.85 MB / 1.165 GB, free: 362.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/2.164, allocations: 2.921 MB / 1.168 GB, free: 361.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004146/2.168, allocations: 1.267 MB / 1.169 GB, free: 360.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/2.169, allocations: 308.4 kB / 1.169 GB, free: 360.8 MB / 0.8731 GB Notification: Performance of SimCode: time 1.002e-06/2.169, allocations: 0 / 1.169 GB, free: 360.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.08757/2.257, allocations: 63.83 MB / 1.231 GB, free: 297.6 MB / 0.8731 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 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)