Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 192.3 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 222 MB, free: 4.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2702, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003179/0.2734, allocations: 1.827 MB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.2755, allocations: 1.616 MB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.2756, allocations: 7.938 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.2758, allocations: 23.84 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.276, allocations: 15.86 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0005639/0.2765, allocations: 191.6 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.2768, allocations: 199.5 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2769, allocations: 62.09 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.277, allocations: 83.69 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2772, allocations: 71.75 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.2772, allocations: 4 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.2775, allocations: 187.6 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.533e-05/0.2776, allocations: 67.81 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.2777, allocations: 83.52 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.2781, allocations: 347.1 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2781, allocations: 4 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2781, allocations: 0 / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.2782, allocations: 0 / 0.7873 GB, free: 9.188 MB / 0.6075 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.0009089/0.2791, allocations: 0.5572 MB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2791, allocations: 8.031 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.2792, allocations: 28.64 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.2794, allocations: 237.8 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.2794, allocations: 16.36 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.2795, allocations: 31.88 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.2798, allocations: 185.4 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2799, allocations: 0 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2799, allocations: 8 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2799, allocations: 0 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.2802, allocations: 116.5 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.2813, allocations: 0.5587 MB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.2821, allocations: 250.6 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.2822, allocations: 88.75 kB / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.2823, allocations: 7.984 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.2826, allocations: 146.1 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 2.524e-06/0.2826, allocations: 0 / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006329/0.2832, allocations: 345.2 kB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.2833, allocations: 79.31 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2834, allocations: 175.1 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.2835, allocations: 45.69 kB / 0.7901 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.2836, allocations: 124.5 kB / 0.7902 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.2836, allocations: 67.09 kB / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.2837, allocations: 65.7 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2838, allocations: 334.8 kB / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.284, allocations: 107.7 kB / 0.7908 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.2843, allocations: 224.7 kB / 0.791 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.2847, allocations: 336 kB / 0.7913 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2847, allocations: 0 / 0.7913 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005316/0.2852, allocations: 365 kB / 0.7917 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2853, allocations: 8 kB / 0.7917 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2853, allocations: 4 kB / 0.7917 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2853, allocations: 8 kB / 0.7917 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.2855, allocations: 59.84 kB / 0.7917 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.2855, allocations: 11.94 kB / 0.7918 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2857, allocations: 48.09 kB / 0.7918 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.2857, allocations: 12.08 kB / 0.7918 GB, free: 4.266 MB / 0.6075 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 (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[1],$PRE.pyt.uRWri[1],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],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 (42): * Single equations (assignments): 42 * 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.0001517/0.2859, allocations: 167.4 kB / 0.792 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.2859, allocations: 27.72 kB / 0.792 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.286, allocations: 25.81 kB / 0.792 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.286, allocations: 0 / 0.792 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.286, allocations: 3.938 kB / 0.792 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.286, allocations: 3.984 kB / 0.792 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.2869, allocations: 0.6303 MB / 0.7926 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2869, allocations: 0 / 0.7926 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.287, allocations: 19.98 kB / 0.7927 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.287, allocations: 8.078 kB / 0.7927 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.287, allocations: 11.98 kB / 0.7927 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2871, allocations: 3.984 kB / 0.7927 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2871, allocations: 3.984 kB / 0.7927 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006375/0.2877, allocations: 477.9 kB / 0.7931 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.2878, allocations: 100.9 kB / 0.7932 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.2878, allocations: 8 kB / 0.7932 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.288, allocations: 23.97 kB / 0.7933 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.288, allocations: 19.97 kB / 0.7933 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.2881, allocations: 8 kB / 0.7933 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.2882, allocations: 137.1 kB / 0.7934 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2882, allocations: 0 / 0.7934 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004229/0.2886, allocations: 107.8 kB / 0.7935 GB, free: 2.406 MB / 0.6075 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 (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.0006304/0.2892, allocations: 318.8 kB / 0.7938 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.2897, allocations: 243.6 kB / 0.7941 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2897, allocations: 0 / 0.7941 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.2899, allocations: 95.88 kB / 0.7942 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2902, allocations: 22.39 kB / 0.7942 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.291, allocations: 0.5206 MB / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.2913, allocations: 0.7407 MB / 0.7954 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.2915, allocations: 53.89 kB / 0.7955 GB, free: 440 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.2915, allocations: 19.44 kB / 0.7955 GB, free: 420 kB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2915, allocations: 0 / 0.7955 GB, free: 420 kB / 0.6075 GB Notification: Performance of Templates: time 0.005733/0.2973, allocations: 2.916 MB / 0.7983 GB, free: 13.5 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)