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.001051/0.001051, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.01084/0.01084, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.603/1.603, allocations: 205.4 MB / 222.5 MB, free: 5.785 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.729/1.729, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005668/0.0005668, allocations: 13.53 kB / 0.6743 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2717, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002254/0.274, allocations: 1.484 MB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2763, allocations: 1.593 MB / 0.7909 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.2764, allocations: 7.938 kB / 0.7909 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.2765, allocations: 19.86 kB / 0.7909 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2767, allocations: 15.88 kB / 0.7909 GB, free: 8.426 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.0005766/0.2772, allocations: 203.5 kB / 0.7911 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.2775, allocations: 191.5 kB / 0.7913 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.2777, allocations: 58.12 kB / 0.7914 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.2779, allocations: 87.67 kB / 0.7914 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.278, allocations: 55.75 kB / 0.7915 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.278, allocations: 4 kB / 0.7915 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.2784, allocations: 179.7 kB / 0.7917 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.689e-05/0.2785, allocations: 63.81 kB / 0.7917 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2786, allocations: 97.23 kB / 0.7918 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.279, allocations: 351 kB / 0.7922 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.279, allocations: 0 / 0.7922 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2791, allocations: 0 / 0.7922 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2791, allocations: 0 / 0.7922 GB, free: 7.152 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.0009874/0.2801, allocations: 0.5261 MB / 0.7927 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2801, allocations: 8.031 kB / 0.7927 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.2802, allocations: 28.64 kB / 0.7927 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.2804, allocations: 236.6 kB / 0.7929 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.2805, allocations: 16.36 kB / 0.793 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.2805, allocations: 27.94 kB / 0.793 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.2809, allocations: 193.3 kB / 0.7932 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2809, allocations: 8 kB / 0.7932 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.2809, allocations: 4 kB / 0.7932 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.281, allocations: 4 kB / 0.7932 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.2812, allocations: 124.5 kB / 0.7933 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2826, allocations: 0.5743 MB / 0.7939 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/0.2834, allocations: 270.6 kB / 0.7941 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.2836, allocations: 99.19 kB / 0.7942 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.2836, allocations: 4 kB / 0.7942 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.284, allocations: 151.3 kB / 0.7944 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 4.268e-06/0.284, allocations: 4 kB / 0.7944 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0007246/0.2847, allocations: 360.2 kB / 0.7947 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.2848, allocations: 67.33 kB / 0.7948 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.285, allocations: 179.1 kB / 0.7949 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.285, allocations: 49.69 kB / 0.795 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2852, allocations: 120.5 kB / 0.7951 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.2852, allocations: 75.08 kB / 0.7952 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.2853, allocations: 37.7 kB / 0.7952 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2855, allocations: 338.8 kB / 0.7955 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.2857, allocations: 99.72 kB / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.286, allocations: 236.7 kB / 0.7959 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.2865, allocations: 343.9 kB / 0.7962 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2865, allocations: 0 / 0.7962 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006145/0.2872, allocations: 372.9 kB / 0.7965 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2872, allocations: 4 kB / 0.7965 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2872, allocations: 4 kB / 0.7965 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.2872, allocations: 8.469 kB / 0.7966 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.2874, allocations: 59.91 kB / 0.7966 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.2875, allocations: 11.88 kB / 0.7966 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.2876, allocations: 43.73 kB / 0.7967 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.2877, allocations: 16 kB / 0.7967 GB, free: 2.184 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.0001918/0.2879, allocations: 176 kB / 0.7968 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.2879, allocations: 19.8 kB / 0.7969 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.288, allocations: 17.88 kB / 0.7969 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.288, allocations: 7.938 kB / 0.7969 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.288, allocations: 3.938 kB / 0.7969 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.288, allocations: 0 / 0.7969 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009484/0.289, allocations: 0.6388 MB / 0.7975 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.289, allocations: 0 / 0.7975 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.2891, allocations: 31.86 kB / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2891, allocations: 4.078 kB / 0.7976 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.2892, allocations: 7.984 kB / 0.7976 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.2892, allocations: 4 kB / 0.7976 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2892, allocations: 3.984 kB / 0.7976 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.2899, allocations: 483.1 kB / 0.798 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.29, allocations: 96.86 kB / 0.7981 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.29, allocations: 12.03 kB / 0.7981 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2902, allocations: 27.97 kB / 0.7982 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.2903, allocations: 15.97 kB / 0.7982 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.2903, allocations: 12 kB / 0.7982 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001009/0.2904, allocations: 141 kB / 0.7983 GB, free: 412 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2905, allocations: 4 kB / 0.7983 GB, free: 408 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004605/0.2909, allocations: 103.8 kB / 0.7984 GB, free: 304 kB / 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.000717/0.2916, allocations: 326.2 kB / 0.7987 GB, free: 40 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005214/0.2922, allocations: 248.2 kB / 0.799 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2922, allocations: 12.25 kB / 0.799 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.2924, allocations: 95.94 kB / 0.7991 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.2927, allocations: 23.22 kB / 0.7991 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2939, allocations: 0.5474 MB / 0.7996 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.2944, allocations: 0.7446 MB / 0.8004 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.2945, allocations: 49.89 kB / 0.8004 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.2946, allocations: 19.44 kB / 0.8004 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2946, allocations: 0 / 0.8004 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.006656/0.3013, allocations: 2.885 MB / 0.8032 GB, free: 11.38 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: