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.001165/0.001164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001249/0.00125, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.54/1.54, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.757/1.757, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.001469/0.001469, allocations: 62.58 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.275, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003325/0.2784, allocations: 1.834 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.2812, allocations: 1.608 MB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.623e-05/0.2813, allocations: 4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.2815, allocations: 15.86 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2817, allocations: 15.86 kB / 0.7863 GB, free: 10.43 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.0007291/0.2824, allocations: 207.5 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.2827, allocations: 219.5 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.2829, allocations: 58.12 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.283, allocations: 87.69 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2831, allocations: 75.72 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.2832, allocations: 12 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.2835, allocations: 183.7 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2836, allocations: 75.8 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.2837, allocations: 91.47 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.2841, allocations: 363 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2841, allocations: 0 / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2842, allocations: 0 / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2842, allocations: 0 / 0.7876 GB, free: 9.086 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.0009396/0.2851, allocations: 0.5533 MB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2852, allocations: 12.03 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.2852, allocations: 24.66 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.2855, allocations: 240.6 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2855, allocations: 12.38 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.2855, allocations: 23.94 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.2859, allocations: 194 kB / 0.7886 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2859, allocations: 3.938 kB / 0.7886 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2859, allocations: 4 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.286, allocations: 4 kB / 0.7886 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.2862, allocations: 115.9 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2874, allocations: 0.5665 MB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.2881, allocations: 246.6 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.2883, allocations: 92.75 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2883, allocations: 4 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.2887, allocations: 148 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 2.444e-06/0.2887, allocations: 0 / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006585/0.2893, allocations: 348 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.2894, allocations: 71.34 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2895, allocations: 179.1 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.2896, allocations: 41.7 kB / 0.7903 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.2897, allocations: 120.5 kB / 0.7905 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.2897, allocations: 75.08 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.2898, allocations: 65.69 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2899, allocations: 338.8 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.2901, allocations: 99.72 kB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.2903, allocations: 232.6 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.2908, allocations: 328 kB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2908, allocations: 4 kB / 0.7916 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005251/0.2913, allocations: 357.2 kB / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.2913, allocations: 14.64 kB / 0.7919 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2914, allocations: 4 kB / 0.7919 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.2914, allocations: 11.98 kB / 0.7919 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.2916, allocations: 51.86 kB / 0.792 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.2916, allocations: 15.86 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.2918, allocations: 44.02 kB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.2918, allocations: 12 kB / 0.792 GB, free: 4.168 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.0001705/0.292, allocations: 171.4 kB / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.292, allocations: 19.72 kB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.2921, allocations: 25.86 kB / 0.7922 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2921, allocations: 8 kB / 0.7923 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.2921, allocations: 3.938 kB / 0.7923 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2921, allocations: 0 / 0.7923 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000913/0.293, allocations: 0.6271 MB / 0.7929 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.293, allocations: 3.984 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2932, allocations: 19.94 kB / 0.7929 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2932, allocations: 7.922 kB / 0.7929 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.2932, allocations: 8 kB / 0.7929 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2932, allocations: 4 kB / 0.7929 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2932, allocations: 0 / 0.7929 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.2939, allocations: 477.1 kB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.294, allocations: 92.86 kB / 0.7935 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.294, allocations: 16.03 kB / 0.7935 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.2942, allocations: 19.92 kB / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.2942, allocations: 23.97 kB / 0.7935 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.2943, allocations: 7.984 kB / 0.7935 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.201e-05/0.2944, allocations: 137.1 kB / 0.7936 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2944, allocations: 0 / 0.7936 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000452/0.2948, allocations: 103.8 kB / 0.7937 GB, free: 2.32 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.0006648/0.2955, allocations: 326.7 kB / 0.7941 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.296, allocations: 279.8 kB / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.296, allocations: 0 / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.2962, allocations: 91.89 kB / 0.7944 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.2965, allocations: 23.64 kB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.2974, allocations: 0.5279 MB / 0.795 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2977, allocations: 0.744 MB / 0.7957 GB, free: 352 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.2978, allocations: 49.91 kB / 0.7957 GB, free: 300 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.2979, allocations: 19.44 kB / 0.7957 GB, free: 280 kB / 0.6075 GB Notification: Performance of SimCode: time 2.484e-06/0.2979, allocations: 0 / 0.7957 GB, free: 280 kB / 0.6075 GB Notification: Performance of Templates: time 0.005943/0.3038, allocations: 2.996 MB / 0.7987 GB, free: 13.29 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)