Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.33/2.33, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 186.7 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009483/0.000948, allocations: 93.56 kB / 0.6812 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006256/0.0006256, allocations: 12.28 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2038, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002302/0.2062, allocations: 1.453 MB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002504/0.2087, allocations: 1.542 MB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.523e-05/0.2089, allocations: 7.938 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.2091, allocations: 23.84 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2092, allocations: 11.86 kB / 0.902 GB, free: 62.38 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0006988/0.2099, allocations: 197.2 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.2102, allocations: 183.5 kB / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.2104, allocations: 53.88 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.2105, allocations: 71.77 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.2107, allocations: 63.67 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.2107, allocations: 4 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.2111, allocations: 163.7 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.2112, allocations: 63.8 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.2113, allocations: 53.64 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.2117, allocations: 259.5 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2117, allocations: 4 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2117, allocations: 3.938 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2117, allocations: 0 / 0.9031 GB, free: 61.28 MB / 0.6042 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.001121/0.2129, allocations: 0.5316 MB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2129, allocations: 12.03 kB / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.213, allocations: 20.75 kB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.2133, allocations: 236.7 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.2133, allocations: 12.38 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.2134, allocations: 23.94 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.2139, allocations: 205.1 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2139, allocations: 4 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.214, allocations: 4 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.214, allocations: 4 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.2144, allocations: 127.9 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2163, allocations: 0.5626 MB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.2176, allocations: 270.7 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.2178, allocations: 96.73 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.2179, allocations: 0 / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.2183, allocations: 153.6 kB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.695e-06/0.2183, allocations: 4 kB / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0009999/0.2193, allocations: 360.3 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.2194, allocations: 75.31 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2196, allocations: 179.2 kB / 0.9059 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.2196, allocations: 41.69 kB / 0.9059 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.2197, allocations: 120.6 kB / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/0.2198, allocations: 67.09 kB / 0.9061 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.2198, allocations: 8 kB / 0.9061 GB, free: 58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.2199, allocations: 334.8 kB / 0.9064 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.2202, allocations: 99.94 kB / 0.9065 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.2206, allocations: 239.7 kB / 0.9067 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.221, allocations: 131.9 kB / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.221, allocations: 0 / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008726/0.2219, allocations: 376.8 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2219, allocations: 8.469 kB / 0.9072 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2219, allocations: 8 kB / 0.9072 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.222, allocations: 4 kB / 0.9072 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.2223, allocations: 59.84 kB / 0.9073 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.2223, allocations: 11.94 kB / 0.9073 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.2226, allocations: 47.67 kB / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.2227, allocations: 12 kB / 0.9074 GB, free: 56.62 MB / 0.6042 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.2229, allocations: 172.5 kB / 0.9075 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.223, allocations: 19.8 kB / 0.9075 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.223, allocations: 21.88 kB / 0.9076 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2231, allocations: 0 / 0.9076 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.2231, allocations: 3.938 kB / 0.9076 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2231, allocations: 7.938 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.2244, allocations: 0.631 MB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2245, allocations: 4 kB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.2247, allocations: 35.86 kB / 0.9082 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.2247, allocations: 7.938 kB / 0.9082 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.2248, allocations: 7.984 kB / 0.9082 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2248, allocations: 0 / 0.9082 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2248, allocations: 0 / 0.9082 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.2258, allocations: 483.1 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.2258, allocations: 100.7 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.2259, allocations: 12.03 kB / 0.9088 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.2262, allocations: 27.91 kB / 0.9088 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/0.2263, allocations: 19.97 kB / 0.9089 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.2263, allocations: 15.98 kB / 0.9089 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001136/0.2265, allocations: 131.2 kB / 0.909 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2265, allocations: 0 / 0.909 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006139/0.2271, allocations: 91.98 kB / 0.9091 GB, free: 54.75 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008098/0.2279, allocations: 324.5 kB / 0.9094 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007323/0.2287, allocations: 255.5 kB / 0.9096 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2287, allocations: 0 / 0.9096 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.229, allocations: 95.89 kB / 0.9097 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.2294, allocations: 27.92 kB / 0.9098 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2306, allocations: 0.5127 MB / 0.9103 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.2308, allocations: 0.7443 MB / 0.911 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.2311, allocations: 49.91 kB / 0.911 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.2311, allocations: 19.44 kB / 0.911 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.2311, allocations: 0 / 0.911 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.008789/0.2399, allocations: 2.844 MB / 0.9138 GB, free: 49.9 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)