Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8148/0.8148, allocations: 143.4 MB / 159.2 MB, free: 4.922 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 183.1 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 103.2 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002216/0.002217, allocations: 289.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 83.86 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3813, allocations: 81.29 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5623/0.9437, allocations: 159.3 MB / 0.9235 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03575/0.9795, allocations: 26.84 MB / 0.9497 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.9843, allocations: 67.75 kB / 0.9498 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.9869, allocations: 0.9449 MB / 0.9507 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.9925, allocations: 1.577 MB / 0.9523 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.9974, allocations: 1.585 MB / 0.9538 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006824/1.004, allocations: 5.485 MB / 0.9592 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005106/1.009, allocations: 4.047 MB / 0.9631 GB, free: 15.22 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/1.013, allocations: 1.769 MB / 0.9648 GB, free: 14.59 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003521/1.016, allocations: 2.429 MB / 0.9672 GB, free: 13.7 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005682/1.017, allocations: 262.6 kB / 0.9675 GB, free: 13.7 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/1.019, allocations: 0.8589 MB / 0.9683 GB, free: 13.55 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008509/1.02, allocations: 1.002 MB / 0.9693 GB, free: 13.06 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/1.022, allocations: 1.935 MB / 0.9712 GB, free: 11.86 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006298/1.029, allocations: 5.901 MB / 0.9769 GB, free: 8.238 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.029, allocations: 2.906 kB / 0.9769 GB, free: 8.238 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.092e-06/1.029, allocations: 0 / 0.9769 GB, free: 8.238 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001603/1.029, allocations: 0 / 0.9769 GB, free: 8.238 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01007/1.039, allocations: 4.731 MB / 0.9816 GB, free: 5.055 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.039, allocations: 8.469 kB / 0.9816 GB, free: 5.055 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/1.052, allocations: 2.795 MB / 0.9843 GB, free: 3.719 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005809/1.058, allocations: 2.367 MB / 0.9866 GB, free: 2.016 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/1.058, allocations: 254.9 kB / 0.9868 GB, free: 1.766 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/1.059, allocations: 336 kB / 0.9872 GB, free: 1.438 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/1.069, allocations: 5.384 MB / 0.9924 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/1.069, allocations: 7.844 kB / 0.9924 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/1.07, allocations: 148 kB / 0.9926 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/1.07, allocations: 83.94 kB / 0.9927 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/1.084, allocations: 6.522 MB / 0.999 GB, free: 5.227 MB / 0.5886 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.02732/1.112, allocations: 15.71 MB / 1.014 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008045/1.12, allocations: 4.087 MB / 1.018 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004878/1.125, allocations: 2.651 MB / 1.021 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008488/1.125, allocations: 0.6777 MB / 1.022 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005008/1.13, allocations: 2.569 MB / 1.024 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=288): time 4.779e-06/1.13, allocations: 3.938 kB / 1.024 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=288): time 0.02002/1.151, allocations: 8.391 MB / 1.032 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.151, allocations: 214.2 kB / 1.033 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004041/1.155, allocations: 2.503 MB / 1.035 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004207/1.155, allocations: 77.7 kB / 1.035 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.156, allocations: 1.422 MB / 1.036 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009109/1.157, allocations: 0.9622 MB / 1.037 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008934/1.158, allocations: 0.5011 MB / 1.038 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/1.158, allocations: 305.1 kB / 1.038 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00442/1.163, allocations: 2.066 MB / 1.04 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004709/1.167, allocations: 2.363 MB / 1.042 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009142/1.177, allocations: 4.434 MB / 1.047 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.177, allocations: 0 / 1.047 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01137/1.188, allocations: 5.324 MB / 1.052 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/1.188, allocations: 13.5 kB / 1.052 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.188, allocations: 10.53 kB / 1.052 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/1.189, allocations: 0.5414 MB / 1.053 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003609/1.193, allocations: 0.7921 MB / 1.053 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/1.2, allocations: 5.289 MB / 1.058 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/1.204, allocations: 0.5635 MB / 1.059 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/1.204, allocations: 115.9 kB / 1.059 GB, free: 6.758 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001935/1.206, allocations: 0.9692 MB / 1.06 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006384/1.207, allocations: 284.4 kB / 1.06 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/1.22, allocations: 5.894 MB / 1.066 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.22, allocations: 28 kB / 1.066 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.22, allocations: 8 kB / 1.066 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/1.22, allocations: 15.94 kB / 1.066 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.239, allocations: 9.891 MB / 1.076 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.239, allocations: 0 / 1.076 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003595/1.243, allocations: 0.7507 MB / 1.077 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/1.244, allocations: 0.5216 MB / 1.077 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/1.244, allocations: 83.92 kB / 1.077 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007444/1.252, allocations: 6.943 MB / 1.084 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.252, allocations: 6.375 kB / 1.084 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7355/1.987, allocations: 129.4 MB / 1.21 GB, free: 323.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/1.99, allocations: 0.8486 MB / 1.211 GB, free: 323 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006529/1.991, allocations: 63.28 kB / 1.211 GB, free: 323 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/1.994, allocations: 415.2 kB / 1.212 GB, free: 322.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005007/1.995, allocations: 199.7 kB / 1.212 GB, free: 322.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002625/1.995, allocations: 102.2 kB / 1.212 GB, free: 322.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002782/1.998, allocations: 1.823 MB / 1.214 GB, free: 322.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/1.998, allocations: 0 / 1.214 GB, free: 322.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006316/2.004, allocations: 1.703 MB / 1.215 GB, free: 321.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 2 systems {(4,36,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002701/2.007, allocations: 1.082 MB / 1.216 GB, free: 321.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01061/2.017, allocations: 5.09 MB / 1.221 GB, free: 320.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/2.017, allocations: 0 / 1.221 GB, free: 320.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00575/2.023, allocations: 2.956 MB / 1.224 GB, free: 319 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/2.027, allocations: 0.6719 MB / 1.225 GB, free: 318.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/2.047, allocations: 12.38 MB / 1.237 GB, free: 310.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/2.049, allocations: 2.642 MB / 1.24 GB, free: 308.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006258/2.055, allocations: 1.443 MB / 1.241 GB, free: 306.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/2.057, allocations: 335 kB / 1.241 GB, free: 306.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.353e-06/2.057, allocations: 0 / 1.241 GB, free: 306.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.1157/2.173, allocations: 99.74 MB / 1.339 GB, free: 207.7 MB / 0.7761 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)