Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.141/2.141, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 181.5 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 0.5772 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008783/0.0008781, allocations: 86.08 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004703, allocations: 11.09 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2043, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.002347/0.2067, allocations: 1.465 MB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.2092, allocations: 1.546 MB / 0.9024 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.2093, allocations: 7.938 kB / 0.9024 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.2095, allocations: 19.86 kB / 0.9025 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.2096, allocations: 15.84 kB / 0.9025 GB, free: 62.45 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.2104, allocations: 191.6 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.2107, allocations: 211.5 kB / 0.9029 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2108, allocations: 49.89 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.211, allocations: 75.75 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2112, allocations: 67.69 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.2112, allocations: 8 kB / 0.9031 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.2116, allocations: 167.7 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2117, allocations: 75.78 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.2118, allocations: 49.64 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.2122, allocations: 271.5 kB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2122, allocations: 0 / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2122, allocations: 0 / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2122, allocations: 0 / 0.9036 GB, free: 61.3 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001109/0.2133, allocations: 0.5402 MB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2134, allocations: 8.031 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.2135, allocations: 28.73 kB / 0.9042 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.2138, allocations: 241 kB / 0.9044 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.2138, allocations: 20.7 kB / 0.9044 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.2139, allocations: 31.92 kB / 0.9044 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.2144, allocations: 192.8 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2144, allocations: 0 / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.2145, allocations: 19.97 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2145, allocations: 7.938 kB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.2148, allocations: 120.5 kB / 0.9048 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.2168, allocations: 0.6054 MB / 0.9054 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.2181, allocations: 294.4 kB / 0.9056 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.2183, allocations: 100.7 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.2184, allocations: 4 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/0.2188, allocations: 171.9 kB / 0.9059 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 3.156e-06/0.2188, allocations: 0 / 0.9059 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.0009692/0.2198, allocations: 389.4 kB / 0.9063 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.2198, allocations: 67.39 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.22, allocations: 182.8 kB / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.2201, allocations: 45.69 kB / 0.9065 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.2202, allocations: 120.7 kB / 0.9067 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.2203, allocations: 79 kB / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.2203, allocations: 8 kB / 0.9067 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.2204, allocations: 338.8 kB / 0.9071 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.2207, allocations: 112.8 kB / 0.9072 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.221, allocations: 252.5 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.2214, allocations: 155.9 kB / 0.9076 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2214, allocations: 4 kB / 0.9076 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008969/0.2223, allocations: 420.9 kB / 0.908 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2224, allocations: 5.562 kB / 0.908 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2224, allocations: 4 kB / 0.908 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.2224, allocations: 8 kB / 0.908 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.2228, allocations: 67.84 kB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.2228, allocations: 4 kB / 0.9081 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.2231, allocations: 55.88 kB / 0.9081 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.2231, allocations: 12 kB / 0.9081 GB, free: 56.39 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: 34 ($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_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002137/0.2234, allocations: 180.2 kB / 0.9083 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.2234, allocations: 27.75 kB / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.2235, allocations: 21.86 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2235, allocations: 0 / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2235, allocations: 0 / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.2236, allocations: 104.7 kB / 0.9084 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.2236, allocations: 19.97 kB / 0.9085 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2239, allocations: 15.98 kB / 0.9085 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.224, allocations: 27.97 kB / 0.9085 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008843/0.2249, allocations: 416.6 kB / 0.9089 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001068/0.2259, allocations: 0.6164 MB / 0.9095 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002654/0.2262, allocations: 108 kB / 0.9096 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001086/0.2264, allocations: 124.3 kB / 0.9097 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of Backend: time 1.032e-06/0.2264, allocations: 0 / 0.9097 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.228, allocations: 473.9 kB / 0.9102 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008974/0.2289, allocations: 0.9196 MB / 0.9111 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.008635/0.2375, allocations: 3.167 MB / 0.9142 GB, free: 50.16 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)