Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001275/0.001275, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005274/0.0005278, allocations: 16.94 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2925, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.7436/1.036, allocations: 137.7 MB / 0.9216 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0356/1.072, allocations: 23.06 MB / 0.9441 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005131/1.077, allocations: 69.03 kB / 0.9442 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004057/1.081, allocations: 1.036 MB / 0.9452 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/1.092, allocations: 2.285 MB / 0.9474 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007274/1.099, allocations: 1.818 MB / 0.9492 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009256/1.108, allocations: 3.596 MB / 0.9527 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/1.119, allocations: 3.272 MB / 0.9559 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006164/1.125, allocations: 1.497 MB / 0.9574 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005709/1.131, allocations: 1.9 MB / 0.9592 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/1.132, allocations: 138.4 kB / 0.9594 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/1.136, allocations: 0.5454 MB / 0.9599 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/1.137, allocations: 0.8356 MB / 0.9607 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001706/1.139, allocations: 0.745 MB / 0.9614 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008354/1.147, allocations: 4.997 MB / 0.9663 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.147, allocations: 0 / 0.9663 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.088e-06/1.147, allocations: 0 / 0.9663 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000291/1.147, allocations: 4 kB / 0.9663 GB, free: 20.14 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01516/1.162, allocations: 4.314 MB / 0.9705 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.163, allocations: 8.125 kB / 0.9706 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01985/1.182, allocations: 2.751 MB / 0.9732 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009478/1.192, allocations: 2.376 MB / 0.9756 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004267/1.192, allocations: 277.4 kB / 0.9758 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/1.194, allocations: 360.3 kB / 0.9762 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/1.217, allocations: 5.535 MB / 0.9816 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001994/1.217, allocations: 7.109 kB / 0.9816 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/1.219, allocations: 146.6 kB / 0.9817 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/1.219, allocations: 91.03 kB / 0.9818 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/1.244, allocations: 6.672 MB / 0.9883 GB, free: 12.05 MB / 0.7325 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.04854/1.292, allocations: 17.15 MB / 1.005 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/1.307, allocations: 4.485 MB / 1.009 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/1.308, allocations: 0.6807 MB / 1.01 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009172/1.317, allocations: 2.605 MB / 1.013 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=313): time 9.608e-06/1.317, allocations: 0 / 1.013 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=313): time 0.03967/1.357, allocations: 9.35 MB / 1.022 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/1.357, allocations: 220.6 kB / 1.022 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006237/1.364, allocations: 2.63 MB / 1.025 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007743/1.364, allocations: 86.45 kB / 1.025 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/1.366, allocations: 1.531 MB / 1.026 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0017/1.368, allocations: 1.044 MB / 1.027 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004779/1.368, allocations: 55.12 kB / 1.027 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003348/1.369, allocations: 413.8 kB / 1.028 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007056/1.376, allocations: 2.068 MB / 1.03 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007339/1.383, allocations: 2.412 MB / 1.032 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00708/1.39, allocations: 2.26 MB / 1.034 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.39, allocations: 0 / 1.034 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.0125/1.403, allocations: 5.561 MB / 1.04 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/1.403, allocations: 4 kB / 1.04 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.403, allocations: 4 kB / 1.04 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/1.405, allocations: 0.8411 MB / 1.04 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/1.408, allocations: 0.7576 MB / 1.041 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/1.419, allocations: 7.222 MB / 1.048 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/1.423, allocations: 0.5517 MB / 1.049 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006038/1.424, allocations: 115.9 kB / 1.049 GB, free: 1.484 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003068/1.427, allocations: 1.01 MB / 1.05 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009405/1.428, allocations: 304.2 kB / 1.05 GB, free: 196 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.442, allocations: 6.184 MB / 1.056 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/1.442, allocations: 32 kB / 1.056 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/1.442, allocations: 12 kB / 1.056 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.311e-05/1.442, allocations: 15.94 kB / 1.056 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/1.463, allocations: 10.46 MB / 1.066 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.463, allocations: 0 / 1.066 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/1.467, allocations: 0.7267 MB / 1.067 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/1.469, allocations: 0.7364 MB / 1.068 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003705/1.469, allocations: 79.94 kB / 1.068 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.481, allocations: 10.03 MB / 1.078 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.481, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/1.502, allocations: 8.753 MB / 1.086 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/1.505, allocations: 0.9296 MB / 1.087 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.507, allocations: 67.98 kB / 1.087 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003944/1.511, allocations: 409.7 kB / 1.088 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000804/1.512, allocations: 210.5 kB / 1.088 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004648/1.512, allocations: 103.9 kB / 1.088 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003227/1.515, allocations: 1.911 MB / 1.09 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.442e-06/1.515, allocations: 0 / 1.09 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004215/1.52, allocations: 1.2 MB / 1.091 GB, free: 5.859 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002457/1.522, allocations: 0.9925 MB / 1.092 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.534, allocations: 5.282 MB / 1.097 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.534, allocations: 0 / 1.097 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006734/1.54, allocations: 3.225 MB / 1.1 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/1.544, allocations: 0.6656 MB / 1.101 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.564, allocations: 10.29 MB / 1.111 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003909/1.568, allocations: 2.751 MB / 1.114 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.006087/1.574, allocations: 1.143 MB / 1.115 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/1.576, allocations: 279.2 kB / 1.115 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of SimCode: time 1.884e-06/1.576, allocations: 0 / 1.115 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.0935/1.669, allocations: 49.94 MB / 1.164 GB, free: 12.18 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) Environment - environmentSimulation: