Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4974/0.4974, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 102.6 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 55.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3956, allocations: 70.07 MB / 0.5575 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5134/0.909, allocations: 199.7 MB / 0.7525 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02291/0.932, allocations: 15.16 MB / 0.7673 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006246/0.9383, allocations: 85.41 kB / 0.7674 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.9424, allocations: 1.141 MB / 0.7685 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.009488/0.9519, allocations: 2.429 MB / 0.7709 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.006936/0.9589, allocations: 1.938 MB / 0.7728 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01145/0.9703, allocations: 7.431 MB / 0.78 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007916/0.9783, allocations: 4.917 MB / 0.7848 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005101/0.9834, allocations: 2.209 MB / 0.787 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00759/0.991, allocations: 2.939 MB / 0.7899 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.9927, allocations: 315.6 kB / 0.7902 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005314/0.998, allocations: 1.84 MB / 0.792 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.9996, allocations: 1.332 MB / 0.7933 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.003847/1.003, allocations: 2.359 MB / 0.7956 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.008322/1.012, allocations: 7.47 MB / 0.8029 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.012, allocations: 0 / 0.8029 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.583e-06/1.012, allocations: 0 / 0.8029 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001638/1.012, allocations: 4 kB / 0.8029 GB, free: 15.02 MB / 0.5417 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.01203/1.024, allocations: 5.624 MB / 0.8084 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.024, allocations: 8.031 kB / 0.8084 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/1.039, allocations: 3 MB / 0.8113 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/1.045, allocations: 2.688 MB / 0.8139 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/1.045, allocations: 312.2 kB / 0.8142 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000944/1.046, allocations: 400 kB / 0.8146 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/1.06, allocations: 6.224 MB / 0.8207 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.918e-05/1.06, allocations: 7.938 kB / 0.8207 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/1.06, allocations: 168 kB / 0.8208 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/1.06, allocations: 144 kB / 0.821 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/1.076, allocations: 7.323 MB / 0.8281 GB, free: 5.035 MB / 0.5573 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.03072/1.107, allocations: 18.89 MB / 0.8466 GB, free: 1.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009383/1.116, allocations: 4.831 MB / 0.8513 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00568/1.122, allocations: 3.16 MB / 0.8544 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009445/1.123, allocations: 0.7021 MB / 0.8551 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005763/1.129, allocations: 2.931 MB / 0.8579 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=345): time 7.223e-06/1.129, allocations: 3.984 kB / 0.8579 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=347): time 0.0382/1.167, allocations: 16.24 MB / 0.8738 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1.167, allocations: 226.6 kB / 0.874 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/1.172, allocations: 2.899 MB / 0.8768 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004576/1.172, allocations: 89.7 kB / 0.8769 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/1.174, allocations: 1.68 MB / 0.8786 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/1.175, allocations: 1.154 MB / 0.8797 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/1.176, allocations: 0.5846 MB / 0.8803 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/1.177, allocations: 305.1 kB / 0.8806 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005501/1.182, allocations: 2.332 MB / 0.8828 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006046/1.188, allocations: 2.691 MB / 0.8855 GB, free: 9.492 MB / 0.6198 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.697/1.885, allocations: 86.7 MB / 0.9701 GB, free: 306 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.885, allocations: 2.078 kB / 0.9701 GB, free: 306 MB / 0.6823 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01561/1.901, allocations: 6.207 MB / 0.9762 GB, free: 303.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/1.901, allocations: 37.28 kB / 0.9762 GB, free: 303.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.901, allocations: 3.75 kB / 0.9762 GB, free: 303.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/1.903, allocations: 0.8255 MB / 0.977 GB, free: 303.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/1.907, allocations: 0.8702 MB / 0.9779 GB, free: 302.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008713/1.916, allocations: 6.922 MB / 0.9846 GB, free: 295.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/1.92, allocations: 499.2 kB / 0.9851 GB, free: 295.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000813/1.921, allocations: 127.9 kB / 0.9852 GB, free: 295.3 MB / 0.6823 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.002825/1.924, allocations: 1.14 MB / 0.9864 GB, free: 294.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.925, allocations: 344.2 kB / 0.9867 GB, free: 294 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/1.942, allocations: 6.767 MB / 0.9933 GB, free: 287.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/1.942, allocations: 43.61 kB / 0.9933 GB, free: 287.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/1.942, allocations: 8 kB / 0.9933 GB, free: 287.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01292/1.955, allocations: 5.921 MB / 0.9991 GB, free: 281.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/1.98, allocations: 11.73 MB / 1.011 GB, free: 269.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.98, allocations: 4 kB / 1.011 GB, free: 269.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004451/1.984, allocations: 0.8468 MB / 1.011 GB, free: 268.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/1.986, allocations: 0.701 MB / 1.012 GB, free: 267.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007875/1.987, allocations: 99.92 kB / 1.012 GB, free: 267.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009448/1.996, allocations: 9.181 MB / 1.021 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.996, allocations: 11.94 kB / 1.021 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3736/2.37, allocations: 136.9 MB / 1.155 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/2.372, allocations: 0.9126 MB / 1.156 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/2.374, allocations: 87.06 kB / 1.156 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004366/2.378, allocations: 472.2 kB / 1.156 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008737/2.379, allocations: 250.3 kB / 1.156 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006021/2.38, allocations: 123.9 kB / 1.157 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003463/2.383, allocations: 2.107 MB / 1.159 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/2.383, allocations: 0 / 1.159 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007331/2.39, allocations: 1.794 MB / 1.16 GB, free: 114.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.medium.Xi[1],thermalZoneFourElements.volAir.dynBal.U,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.002883/2.393, allocations: 1.123 MB / 1.162 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01245/2.406, allocations: 5.908 MB / 1.167 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/2.406, allocations: 4 kB / 1.167 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006924/2.413, allocations: 3.552 MB / 1.171 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/2.419, allocations: 0.9713 MB / 1.172 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/2.442, allocations: 14.71 MB / 1.186 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003469/2.445, allocations: 3.067 MB / 1.189 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.008949/2.454, allocations: 1.602 MB / 1.191 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004072/2.458, allocations: 363.2 kB / 1.191 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/2.458, allocations: 4 kB / 1.191 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of Templates: time 0.416/2.874, allocations: 114.9 MB / 1.303 GB, free: 280.8 MB / 0.6823 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)