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.001218/0.001218, allocations: 105.4 kB / 15.7 MB, free: 24 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.001532/0.001532, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.38/1.38, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.746/1.746, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002403/0.002403, allocations: 71.42 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2742, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003628/0.2779, allocations: 1.77 MB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.2803, allocations: 1.636 MB / 0.7875 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.2804, allocations: 0 / 0.7875 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.2807, allocations: 23.8 kB / 0.7875 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2808, allocations: 27.78 kB / 0.7875 GB, free: 9.277 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.0007314/0.2815, allocations: 231.2 kB / 0.7877 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.2818, allocations: 215.5 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.282, allocations: 61.83 kB / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2821, allocations: 87.73 kB / 0.7881 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2823, allocations: 75.69 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.2823, allocations: 15.94 kB / 0.7882 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.2827, allocations: 211.7 kB / 0.7884 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2828, allocations: 63.86 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.2829, allocations: 87.47 kB / 0.7885 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.2834, allocations: 367 kB / 0.7889 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2834, allocations: 0 / 0.7889 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2834, allocations: 0 / 0.7889 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2834, allocations: 0 / 0.7889 GB, free: 7.887 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.00101/0.2844, allocations: 0.5533 MB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2845, allocations: 8.031 kB / 0.7894 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.2845, allocations: 28.66 kB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.2848, allocations: 240.6 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.2849, allocations: 16.38 kB / 0.7897 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.2849, allocations: 23.94 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.2853, allocations: 182 kB / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2853, allocations: 0 / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.2854, allocations: 8 kB / 0.7899 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.2854, allocations: 7.984 kB / 0.7899 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.2856, allocations: 115.9 kB / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.287, allocations: 0.5586 MB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.2878, allocations: 262.6 kB / 0.7908 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.288, allocations: 88.75 kB / 0.7909 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.288, allocations: 8 kB / 0.7909 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.2883, allocations: 149.7 kB / 0.791 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.2883, allocations: 0 / 0.791 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006582/0.289, allocations: 341.3 kB / 0.7914 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.2891, allocations: 67.34 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2893, allocations: 184.2 kB / 0.7916 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.2893, allocations: 41.69 kB / 0.7916 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.2894, allocations: 124.5 kB / 0.7918 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.2895, allocations: 75.08 kB / 0.7918 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.2896, allocations: 73.47 kB / 0.7919 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2897, allocations: 326.8 kB / 0.7922 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.2899, allocations: 103.9 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.2901, allocations: 224.9 kB / 0.7925 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.2906, allocations: 332 kB / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2906, allocations: 0 / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005878/0.2912, allocations: 365.2 kB / 0.7932 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2912, allocations: 8 kB / 0.7932 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2912, allocations: 4 kB / 0.7932 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.2913, allocations: 11.98 kB / 0.7932 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.2915, allocations: 47.92 kB / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.2915, allocations: 19.86 kB / 0.7933 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.2917, allocations: 31.83 kB / 0.7933 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.2917, allocations: 24.12 kB / 0.7933 GB, free: 2.965 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.0001898/0.2919, allocations: 168.2 kB / 0.7935 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.292, allocations: 23.66 kB / 0.7935 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.615e-05/0.292, allocations: 25.86 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.292, allocations: 0 / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.2921, allocations: 7.938 kB / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2921, allocations: 0 / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.2931, allocations: 0.6344 MB / 0.7942 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2931, allocations: 0 / 0.7942 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2932, allocations: 15.98 kB / 0.7942 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2932, allocations: 4 kB / 0.7942 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.2932, allocations: 11.92 kB / 0.7942 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2932, allocations: 0 / 0.7942 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2932, allocations: 0 / 0.7942 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.2939, allocations: 479.7 kB / 0.7947 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.294, allocations: 92.92 kB / 0.7947 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.294, allocations: 19.91 kB / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2942, allocations: 15.98 kB / 0.7948 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.2943, allocations: 23.97 kB / 0.7948 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.2943, allocations: 11.98 kB / 0.7948 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.691e-05/0.2944, allocations: 132.3 kB / 0.7949 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2944, allocations: 0 / 0.7949 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004713/0.2949, allocations: 107.8 kB / 0.795 GB, free: 1.117 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.0006595/0.2956, allocations: 328.2 kB / 0.7953 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.2961, allocations: 251 kB / 0.7956 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2961, allocations: 0 / 0.7956 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.2962, allocations: 91.89 kB / 0.7957 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2966, allocations: 26.33 kB / 0.7957 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.2974, allocations: 467.9 kB / 0.7961 GB, free: 16 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2978, allocations: 0.7441 MB / 0.7969 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.2979, allocations: 45.91 kB / 0.7969 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.298, allocations: 19.44 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.298, allocations: 4 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.006636/0.3046, allocations: 3.041 MB / 0.7999 GB, free: 12.14 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)