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.001655/0.001655, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.489/1.489, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.732/1.732, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.0014/0.0014, allocations: 77.58 kB / 0.6715 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2575, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003291/0.2608, allocations: 1.778 MB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.263, allocations: 1.632 MB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.2631, allocations: 7.938 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2633, allocations: 19.8 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2634, allocations: 27.78 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.2641, allocations: 227.3 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.2643, allocations: 211.5 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2645, allocations: 66.09 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.2646, allocations: 83.7 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.2648, allocations: 71.73 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.2648, allocations: 12 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.2651, allocations: 199.6 kB / 0.7876 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.2652, allocations: 67.81 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.2653, allocations: 83.53 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.2657, allocations: 355 kB / 0.7881 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2658, allocations: 8 kB / 0.7881 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2658, allocations: 0 / 0.7881 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2658, allocations: 0 / 0.7881 GB, free: 8.629 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.0009188/0.2667, allocations: 0.5494 MB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2667, allocations: 8.031 kB / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.2668, allocations: 28.66 kB / 0.7886 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.2671, allocations: 244.6 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2671, allocations: 16.31 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.2671, allocations: 31.92 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.2675, allocations: 182 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.2675, allocations: 0 / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.2675, allocations: 7.984 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2676, allocations: 4 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.2678, allocations: 115.9 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.269, allocations: 0.5625 MB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007819/0.2698, allocations: 250.7 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.27, allocations: 88.75 kB / 0.7901 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.27, allocations: 0 / 0.7901 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.2703, allocations: 157.7 kB / 0.7902 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.2704, allocations: 4 kB / 0.7902 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006564/0.271, allocations: 341.3 kB / 0.7906 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.2711, allocations: 71.33 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2712, allocations: 176.2 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.2713, allocations: 37.7 kB / 0.7908 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.2714, allocations: 136.5 kB / 0.791 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.2714, allocations: 59.11 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/0.2715, allocations: 73.69 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2717, allocations: 338.8 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.2718, allocations: 99.66 kB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.2721, allocations: 224.9 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.2725, allocations: 332 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2726, allocations: 4 kB / 0.792 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005575/0.2731, allocations: 368.8 kB / 0.7924 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2731, allocations: 8.938 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2732, allocations: 4 kB / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2732, allocations: 4.469 kB / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.2734, allocations: 55.91 kB / 0.7925 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.2734, allocations: 15.88 kB / 0.7925 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.2736, allocations: 35.83 kB / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.2736, allocations: 15.94 kB / 0.7925 GB, free: 3.715 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.0001562/0.2737, allocations: 176.2 kB / 0.7927 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.2738, allocations: 23.7 kB / 0.7927 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.2738, allocations: 21.86 kB / 0.7927 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2738, allocations: 4 kB / 0.7927 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2739, allocations: 7.938 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2739, allocations: 0 / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008691/0.2747, allocations: 0.6379 MB / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2748, allocations: 0 / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.2749, allocations: 23.98 kB / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2749, allocations: 3.938 kB / 0.7934 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.2749, allocations: 4 kB / 0.7934 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2749, allocations: 3.984 kB / 0.7934 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2749, allocations: 0 / 0.7934 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.2756, allocations: 479.1 kB / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.2757, allocations: 92.86 kB / 0.794 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.2757, allocations: 12.03 kB / 0.794 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.2759, allocations: 19.97 kB / 0.794 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.276, allocations: 15.98 kB / 0.794 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.276, allocations: 11.98 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001028/0.2761, allocations: 136.3 kB / 0.7941 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2761, allocations: 4 kB / 0.7941 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004257/0.2765, allocations: 103.8 kB / 0.7942 GB, free: 1.859 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.0006579/0.2772, allocations: 330.4 kB / 0.7946 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.2777, allocations: 282.3 kB / 0.7948 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2777, allocations: 0 / 0.7948 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.2779, allocations: 100.8 kB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.2782, allocations: 22.58 kB / 0.795 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007876/0.279, allocations: 467.9 kB / 0.7954 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2793, allocations: 0.7402 MB / 0.7961 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.2795, allocations: 49.91 kB / 0.7962 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.2795, allocations: 23.42 kB / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2795, allocations: 0 / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.006261/0.2858, allocations: 3.04 MB / 0.7992 GB, free: 12.85 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)