Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001224/0.001224, allocations: 197.5 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008544/0.0008543, allocations: 102.6 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 63.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2367, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.003542/0.2403, allocations: 1.841 MB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.2428, allocations: 1.632 MB / 0.9856 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.2429, allocations: 0 / 0.9856 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.2431, allocations: 23.86 kB / 0.9856 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2433, allocations: 15.86 kB / 0.9856 GB, free: 6.871 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.244, allocations: 207.5 kB / 0.9858 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.2444, allocations: 223.5 kB / 0.986 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.2445, allocations: 58.17 kB / 0.9861 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.2447, allocations: 87.73 kB / 0.9862 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.245, allocations: 79.61 kB / 0.9863 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.245, allocations: 8 kB / 0.9863 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.2455, allocations: 179.7 kB / 0.9864 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.2456, allocations: 79.8 kB / 0.9865 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2457, allocations: 83.52 kB / 0.9866 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.2462, allocations: 371 kB / 0.987 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2463, allocations: 0 / 0.987 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2463, allocations: 4 kB / 0.987 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2463, allocations: 4 kB / 0.987 GB, free: 5.512 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001114/0.2474, allocations: 0.5653 MB / 0.9875 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2475, allocations: 12.03 kB / 0.9875 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.2475, allocations: 20.75 kB / 0.9875 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.2479, allocations: 247.8 kB / 0.9878 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.2479, allocations: 12.7 kB / 0.9878 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.248, allocations: 43.83 kB / 0.9878 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.2483, allocations: 196.8 kB / 0.988 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2484, allocations: 0 / 0.988 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2484, allocations: 4 kB / 0.988 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2484, allocations: 4 kB / 0.988 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.2487, allocations: 128.1 kB / 0.9882 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.25, allocations: 0.586 MB / 0.9887 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.2509, allocations: 278.4 kB / 0.989 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.2511, allocations: 100.7 kB / 0.9891 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.2511, allocations: 4 kB / 0.9891 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.2515, allocations: 163.3 kB / 0.9892 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 2.274e-06/0.2515, allocations: 4 kB / 0.9892 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26): time 0.0006806/0.2522, allocations: 381.4 kB / 0.9896 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.2522, allocations: 71.39 kB / 0.9897 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2524, allocations: 182.2 kB / 0.9899 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.2525, allocations: 45.7 kB / 0.9899 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.2526, allocations: 124.6 kB / 0.99 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.21e-05/0.2526, allocations: 82.98 kB / 0.9901 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2528, allocations: 78.14 kB / 0.9902 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2529, allocations: 334.8 kB / 0.9905 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.2531, allocations: 120.8 kB / 0.9906 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.2534, allocations: 244.6 kB / 0.9908 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.2538, allocations: 367.8 kB / 0.9912 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2539, allocations: 7.938 kB / 0.9912 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006164/0.2545, allocations: 416.9 kB / 0.9916 GB, free: 428 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2545, allocations: 8 kB / 0.9916 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.2545, allocations: 4 kB / 0.9916 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2546, allocations: 8 kB / 0.9916 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.2547, allocations: 59.91 kB / 0.9917 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.2548, allocations: 15.92 kB / 0.9917 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.255, allocations: 44.14 kB / 0.9917 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.255, allocations: 19.98 kB / 0.9917 GB, free: 268 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.2552, allocations: 188.2 kB / 0.9919 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.2552, allocations: 19.81 kB / 0.9919 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.2553, allocations: 25.8 kB / 0.992 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2553, allocations: 4 kB / 0.992 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2553, allocations: 0 / 0.992 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2553, allocations: 0 / 0.992 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.2562, allocations: 0.6739 MB / 0.9926 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2562, allocations: 0 / 0.9926 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.2564, allocations: 19.92 kB / 0.9926 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2564, allocations: 0 / 0.9926 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2564, allocations: 15.98 kB / 0.9927 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2564, allocations: 4 kB / 0.9927 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2564, allocations: 0 / 0.9927 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.258, allocations: 1.555 MB / 0.9942 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.2581, allocations: 96.89 kB / 0.9943 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.2581, allocations: 15.98 kB / 0.9943 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2583, allocations: 20.14 kB / 0.9943 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.2583, allocations: 31.84 kB / 0.9943 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.2584, allocations: 11.98 kB / 0.9944 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001071/0.2585, allocations: 140.3 kB / 0.9945 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2585, allocations: 0 / 0.9945 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005439/0.2591, allocations: 119.8 kB / 0.9946 GB, free: 13.11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009326/0.26, allocations: 333 kB / 0.9949 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005302/0.2605, allocations: 271.8 kB / 0.9952 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2605, allocations: 0 / 0.9952 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.2608, allocations: 108.8 kB / 0.9953 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.2611, allocations: 32.05 kB / 0.9953 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.2624, allocations: 0.7393 MB / 0.996 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.2628, allocations: 0.7482 MB / 0.9968 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.263, allocations: 50.25 kB / 0.9968 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.263, allocations: 27.42 kB / 0.9968 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.263, allocations: 0 / 0.9968 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.006851/0.2699, allocations: 3.251 MB / 1 GB, free: 7.547 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)