Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.749/2.749, allocations: 287.3 MB / 302.3 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002272/0.002272, allocations: 179 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 97.61 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004724, allocations: 15.52 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.8919/1.111, allocations: 135.4 MB / 1.11 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04177/1.153, allocations: 22.2 MB / 1.132 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004096/1.157, allocations: 57.19 kB / 1.132 GB, free: 15.44 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004168/1.161, allocations: 0.9434 MB / 1.133 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009872/1.171, allocations: 2.014 MB / 1.135 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007734/1.179, allocations: 1.588 MB / 1.137 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007346/1.186, allocations: 2.705 MB / 1.139 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006547/1.193, allocations: 2.745 MB / 1.142 GB, free: 13.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/1.197, allocations: 1.228 MB / 1.143 GB, free: 13.41 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/1.202, allocations: 1.527 MB / 1.145 GB, free: 12.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001101/1.203, allocations: 97.22 kB / 1.145 GB, free: 12.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/1.206, allocations: 0.5143 MB / 1.145 GB, free: 12.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/1.208, allocations: 0.6629 MB / 1.146 GB, free: 12.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/1.21, allocations: 0.5878 MB / 1.146 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008338/1.218, allocations: 4.016 MB / 1.15 GB, free: 9.805 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.218, allocations: 3.938 kB / 1.15 GB, free: 9.801 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.216e-06/1.218, allocations: 3.938 kB / 1.15 GB, free: 9.797 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002256/1.218, allocations: 1.125 kB / 1.15 GB, free: 9.797 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.01487/1.233, allocations: 3.645 MB / 1.154 GB, free: 7.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.233, allocations: 8.438 kB / 1.154 GB, free: 7.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02467/1.258, allocations: 2.681 MB / 1.157 GB, free: 6.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007171/1.265, allocations: 2.054 MB / 1.159 GB, free: 5.379 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/1.265, allocations: 226.8 kB / 1.159 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/1.267, allocations: 299 kB / 1.159 GB, free: 5.359 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/1.288, allocations: 4.776 MB / 1.164 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/1.288, allocations: 2.469 kB / 1.164 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008851/1.289, allocations: 121.6 kB / 1.164 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/1.289, allocations: 79.03 kB / 1.164 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/1.315, allocations: 5.918 MB / 1.17 GB, free: 15.97 MB / 0.7136 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.04454/1.36, allocations: 13.39 MB / 1.183 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/1.38, allocations: 4.407 MB / 1.187 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/1.382, allocations: 0.6774 MB / 1.188 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01/1.392, allocations: 2.261 MB / 1.19 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=255): time 8.676e-06/1.392, allocations: 0 / 1.19 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=255): time 0.03189/1.424, allocations: 6.664 MB / 1.196 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.424, allocations: 209.9 kB / 1.197 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/1.429, allocations: 2.299 MB / 1.199 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008885/1.43, allocations: 69.7 kB / 1.199 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.431, allocations: 1.278 MB / 1.2 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.433, allocations: 0.8471 MB / 1.201 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/1.434, allocations: 44 kB / 1.201 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002651/1.434, allocations: 398.4 kB / 1.201 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008079/1.442, allocations: 1.784 MB / 1.203 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008955/1.451, allocations: 2.084 MB / 1.205 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008848/1.46, allocations: 1.931 MB / 1.207 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/1.46, allocations: 0 / 1.207 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.02077/1.481, allocations: 4.467 MB / 1.211 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/1.481, allocations: 11.94 kB / 1.211 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.481, allocations: 4 kB / 1.211 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.482, allocations: 229.1 kB / 1.212 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008126/1.49, allocations: 0.7605 MB / 1.212 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/1.497, allocations: 3.179 MB / 1.216 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006639/1.504, allocations: 0.4914 MB / 1.216 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.505, allocations: 103.9 kB / 1.216 GB, free: 3.914 MB / 0.7448 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 (262): * Single equations (assignments): 261 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003644/1.508, allocations: 0.8875 MB / 1.217 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.51, allocations: 252.8 kB / 1.217 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02418/1.534, allocations: 5.07 MB / 1.222 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.986e-05/1.534, allocations: 32 kB / 1.222 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.534, allocations: 7.953 kB / 1.222 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-05/1.534, allocations: 19.94 kB / 1.222 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/1.567, allocations: 8.575 MB / 1.231 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.568, allocations: 1.969 kB / 1.231 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007729/1.575, allocations: 0.7138 MB / 1.231 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/1.577, allocations: 268.2 kB / 1.232 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008683/1.578, allocations: 75.92 kB / 1.232 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007923/1.586, allocations: 4.866 MB / 1.236 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.586, allocations: 3.953 kB / 1.236 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0314/1.617, allocations: 7.216 MB / 1.243 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003422/1.621, allocations: 0.8131 MB / 1.244 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/1.622, allocations: 51.98 kB / 1.244 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006277/1.628, allocations: 379.4 kB / 1.245 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/1.629, allocations: 157.9 kB / 1.245 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005993/1.63, allocations: 99.92 kB / 1.245 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.004152/1.634, allocations: 1.676 MB / 1.247 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.21e-07/1.634, allocations: 0 / 1.247 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005153/1.639, allocations: 0.9444 MB / 1.247 GB, free: 3.184 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (248): * Single equations (assignments): 241 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003564/1.643, allocations: 0.9719 MB / 1.248 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01916/1.662, allocations: 4.35 MB / 1.253 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.662, allocations: 0 / 1.253 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01032/1.672, allocations: 2.498 MB / 1.255 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/1.678, allocations: 0.5456 MB / 1.256 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/1.704, allocations: 8.599 MB / 1.264 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004013/1.708, allocations: 2.412 MB / 1.266 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007849/1.716, allocations: 1.094 MB / 1.267 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002352/1.719, allocations: 251.3 kB / 1.268 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of SimCode: time 2.084e-06/1.719, allocations: 4 kB / 1.268 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of Templates: time 0.1159/1.835, allocations: 39.79 MB / 1.307 GB, free: 7.031 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)