Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.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.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.64/2.64, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001478/0.001478, allocations: 181 kB / 370.8 MB, free: 10.88 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.065/2.065, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001093/0.001093, allocations: 81.69 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007104/0.0007106, allocations: 10.8 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3052, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003138/0.3084, allocations: 1.449 MB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003661/0.3122, allocations: 1.539 MB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.3124, allocations: 0 / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.3126, allocations: 23.86 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.3128, allocations: 19.91 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3139, allocations: 189 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.3143, allocations: 147.7 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.3145, allocations: 54.11 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3148, allocations: 67.75 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.315, allocations: 63.75 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.315, allocations: 4 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.3156, allocations: 143.8 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3158, allocations: 63.8 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.3159, allocations: 49.64 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.3165, allocations: 267.4 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3166, allocations: 0 / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3166, allocations: 4 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.3166, allocations: 0 / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001573/0.3182, allocations: 0.5298 MB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3183, allocations: 8.031 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3184, allocations: 23.72 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.3188, allocations: 231.4 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.3189, allocations: 16 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.319, allocations: 19.98 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.3197, allocations: 193.2 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3197, allocations: 4 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.3198, allocations: 11.94 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.3198, allocations: 4 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.3204, allocations: 127.9 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.3231, allocations: 0.5704 MB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.3251, allocations: 276.7 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.3252, allocations: 0 / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/0.3258, allocations: 152.8 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.416e-06/0.3258, allocations: 0 / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.001491/0.3273, allocations: 448.3 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.3274, allocations: 67.38 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.3277, allocations: 174.6 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.3278, allocations: 41.7 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3279, allocations: 128.5 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.328, allocations: 63.17 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.3281, allocations: 4 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3282, allocations: 338.8 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.3286, allocations: 99.92 kB / 0.9856 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.3292, allocations: 232.6 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.3297, allocations: 139.8 kB / 0.9859 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3298, allocations: 0 / 0.9859 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001324/0.3311, allocations: 368.9 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3312, allocations: 8 kB / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.3312, allocations: 4 kB / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.3313, allocations: 11.95 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.3318, allocations: 64.19 kB / 0.9863 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.3318, allocations: 11.98 kB / 0.9864 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.3323, allocations: 39.77 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.3324, allocations: 16 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003036/0.3327, allocations: 175.4 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.3328, allocations: 19.72 kB / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.3329, allocations: 26 kB / 0.9866 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3329, allocations: 11.94 kB / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3329, allocations: 0 / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3329, allocations: 0 / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3349, allocations: 0.6233 MB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.335, allocations: 0 / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.3353, allocations: 27.88 kB / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.3353, allocations: 0 / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.3354, allocations: 11.98 kB / 0.9873 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.3354, allocations: 4 kB / 0.9873 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3355, allocations: 0 / 0.9873 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.337, allocations: 484.3 kB / 0.9877 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.3371, allocations: 100.9 kB / 0.9878 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.3372, allocations: 15.98 kB / 0.9879 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.3376, allocations: 23.98 kB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3378, allocations: 27.89 kB / 0.9879 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.3378, allocations: 8 kB / 0.9879 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001713/0.338, allocations: 132.3 kB / 0.988 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/0.338, allocations: 4 kB / 0.988 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001011/0.3391, allocations: 99.77 kB / 0.9881 GB, free: 17.8 MB / 0.6198 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: 14 (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],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 (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/0.3404, allocations: 318.5 kB / 0.9884 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.3415, allocations: 258.5 kB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3416, allocations: 0.9375 kB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.342, allocations: 107.8 kB / 0.9888 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.3425, allocations: 19.94 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.3441, allocations: 0.5011 MB / 0.9893 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3445, allocations: 0.7482 MB / 0.99 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.3448, allocations: 45.91 kB / 0.9901 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.3449, allocations: 19.44 kB / 0.9901 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.823e-06/0.3449, allocations: 0 / 0.9901 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.01256/0.3575, allocations: 2.83 MB / 0.9929 GB, free: 12.98 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)