Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.4 MB / 303.6 MB, free: 8.215 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.001071/0.001071, allocations: 172.5 kB / 372.3 MB, free: 10.15 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.781/1.781, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007703/0.0007701, allocations: 94.8 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005327/0.0005328, allocations: 15.05 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3047, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002692/0.3074, allocations: 1.453 MB / 0.9816 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.3103, allocations: 1.546 MB / 0.9831 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3104, allocations: 4 kB / 0.9831 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.3107, allocations: 23.86 kB / 0.9831 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.3108, allocations: 15.84 kB / 0.9831 GB, free: 24.29 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007838/0.3116, allocations: 187.5 kB / 0.9833 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.3119, allocations: 183.5 kB / 0.9835 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3121, allocations: 62.11 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3123, allocations: 67.77 kB / 0.9836 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3124, allocations: 63.73 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3125, allocations: 4 kB / 0.9837 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.3129, allocations: 171.7 kB / 0.9838 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.313, allocations: 55.88 kB / 0.9839 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.3131, allocations: 101.2 kB / 0.984 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.3135, allocations: 263.5 kB / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3135, allocations: 0 / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3135, allocations: 0 / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3136, allocations: 0 / 0.9842 GB, free: 23.14 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.001082/0.3146, allocations: 0.5261 MB / 0.9847 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3147, allocations: 8.031 kB / 0.9847 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.3148, allocations: 24.66 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.3151, allocations: 242.5 kB / 0.985 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3152, allocations: 12.38 kB / 0.985 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.3152, allocations: 39.86 kB / 0.985 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.3157, allocations: 181.4 kB / 0.9852 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3158, allocations: 0 / 0.9852 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3158, allocations: 7.984 kB / 0.9852 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3158, allocations: 4 kB / 0.9852 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.3162, allocations: 127.9 kB / 0.9853 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.3179, allocations: 0.5703 MB / 0.9859 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.3191, allocations: 275.2 kB / 0.9862 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.3193, allocations: 88.75 kB / 0.9863 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.3194, allocations: 4 kB / 0.9863 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.3198, allocations: 160 kB / 0.9864 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.796e-06/0.3198, allocations: 0 / 0.9864 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0009527/0.3208, allocations: 351.5 kB / 0.9867 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.3208, allocations: 75.33 kB / 0.9868 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.321, allocations: 174.6 kB / 0.987 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.3211, allocations: 41.7 kB / 0.987 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.3212, allocations: 128.5 kB / 0.9871 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.3213, allocations: 67.09 kB / 0.9872 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.3213, allocations: 8 kB / 0.9872 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.3214, allocations: 338.8 kB / 0.9875 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.3217, allocations: 107.9 kB / 0.9876 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.322, allocations: 224 kB / 0.9879 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.3226, allocations: 336 kB / 0.9882 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.3226, allocations: 0 / 0.9882 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008566/0.3235, allocations: 373.3 kB / 0.9885 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3236, allocations: 8 kB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3236, allocations: 4 kB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.3236, allocations: 8 kB / 0.9886 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.3239, allocations: 59.91 kB / 0.9886 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.324, allocations: 11.88 kB / 0.9886 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.3243, allocations: 43.81 kB / 0.9887 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3243, allocations: 16 kB / 0.9887 GB, free: 18.24 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.0002039/0.3245, allocations: 173.8 kB / 0.9888 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3246, allocations: 19.72 kB / 0.9889 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.3246, allocations: 17.88 kB / 0.9889 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3247, allocations: 8 kB / 0.9889 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3247, allocations: 3.938 kB / 0.9889 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3247, allocations: 3.984 kB / 0.9889 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.326, allocations: 0.6387 MB / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.326, allocations: 3.938 kB / 0.9895 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.3262, allocations: 23.98 kB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3262, allocations: 3.938 kB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.3262, allocations: 11.98 kB / 0.9896 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3263, allocations: 4 kB / 0.9896 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.3263, allocations: 7.938 kB / 0.9896 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009274/0.3272, allocations: 481.9 kB / 0.99 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.3273, allocations: 100.9 kB / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.3274, allocations: 11.98 kB / 0.9901 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3276, allocations: 27.98 kB / 0.9902 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.3277, allocations: 19.97 kB / 0.9902 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.3278, allocations: 11.98 kB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001092/0.3279, allocations: 128.3 kB / 0.9903 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3279, allocations: 0 / 0.9903 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007038/0.3286, allocations: 115.8 kB / 0.9904 GB, free: 16.35 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.0009001/0.3295, allocations: 310.1 kB / 0.9907 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.3302, allocations: 263.8 kB / 0.991 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3302, allocations: 0 / 0.991 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.3305, allocations: 99.89 kB / 0.9911 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.331, allocations: 23.36 kB / 0.9911 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3322, allocations: 0.5207 MB / 0.9916 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3325, allocations: 0.7404 MB / 0.9923 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.3327, allocations: 49.91 kB / 0.9924 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.3328, allocations: 23.42 kB / 0.9924 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.3328, allocations: 0 / 0.9924 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.008304/0.3411, allocations: 2.846 MB / 0.9952 GB, free: 11.5 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)