Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.309/2.309, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001249/0.001249, allocations: 181.2 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.404/2.404, allocations: 205.4 MB / 0.5767 GB, free: 20.81 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.001457/0.001457, allocations: 94.34 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004996, allocations: 11.34 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2341, allocations: 106.3 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.002353/0.2365, allocations: 1.461 MB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.2391, allocations: 1.546 MB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.2393, allocations: 7.938 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.2395, allocations: 19.84 kB / 0.902 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2397, allocations: 15.86 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB [/var/lib/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.0007636/0.2404, allocations: 199.6 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.2408, allocations: 211.5 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.2409, allocations: 53.88 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2411, allocations: 67.77 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2413, allocations: 71.67 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.2413, allocations: 8 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.2417, allocations: 167.7 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2419, allocations: 67.8 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.2419, allocations: 61.64 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.2424, allocations: 267.5 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2424, allocations: 0 / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2424, allocations: 0 / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2424, allocations: 3.938 kB / 0.9031 GB, free: 61.22 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.001161/0.2436, allocations: 0.5305 MB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2436, allocations: 12.03 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.2437, allocations: 28.67 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.244, allocations: 247.9 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.2441, allocations: 16.69 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.2441, allocations: 31.92 kB / 0.904 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.2447, allocations: 204.8 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2447, allocations: 0 / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.2447, allocations: 4 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2448, allocations: 7.938 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.2451, allocations: 124.5 kB / 0.9043 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.2471, allocations: 0.5937 MB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.2485, allocations: 298.5 kB / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.2488, allocations: 100.7 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.2488, allocations: 0 / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.2493, allocations: 170.2 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 3.406e-06/0.2493, allocations: 8 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.0009927/0.2503, allocations: 382.1 kB / 0.9058 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.2504, allocations: 71.38 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2505, allocations: 178.8 kB / 0.906 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.2506, allocations: 49.69 kB / 0.9061 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.2507, allocations: 120.7 kB / 0.9062 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.2508, allocations: 75.02 kB / 0.9063 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.2508, allocations: 8 kB / 0.9063 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.2509, allocations: 338.8 kB / 0.9066 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.2512, allocations: 116.8 kB / 0.9067 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.2516, allocations: 252.5 kB / 0.907 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.252, allocations: 151.9 kB / 0.9071 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.252, allocations: 0 / 0.9071 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009426/0.253, allocations: 420.7 kB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.253, allocations: 8.469 kB / 0.9075 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.253, allocations: 8 kB / 0.9075 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.2531, allocations: 4 kB / 0.9075 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.2535, allocations: 63.84 kB / 0.9076 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.2535, allocations: 8.172 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.2538, allocations: 51.67 kB / 0.9076 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.2538, allocations: 16 kB / 0.9077 GB, free: 56.32 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.0002388/0.2541, allocations: 184.2 kB / 0.9078 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.2541, allocations: 23.81 kB / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.2542, allocations: 21.86 kB / 0.9079 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2542, allocations: 0 / 0.9079 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.2542, allocations: 4 kB / 0.9079 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2542, allocations: 7.922 kB / 0.9079 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.2557, allocations: 0.6857 MB / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2557, allocations: 0 / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.2559, allocations: 19.98 kB / 0.9086 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.2559, allocations: 4 kB / 0.9086 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.256, allocations: 7.984 kB / 0.9086 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.256, allocations: 3.984 kB / 0.9086 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.256, allocations: 4 kB / 0.9086 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.257, allocations: 0.5184 MB / 0.9091 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.2571, allocations: 92.86 kB / 0.9092 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.2572, allocations: 16.03 kB / 0.9092 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.2574, allocations: 31.97 kB / 0.9092 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.2575, allocations: 19.97 kB / 0.9092 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.2576, allocations: 11.98 kB / 0.9093 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001143/0.2577, allocations: 132.3 kB / 0.9094 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2577, allocations: 0 / 0.9094 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006025/0.2583, allocations: 107.8 kB / 0.9095 GB, free: 54.34 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: 18 (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],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[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 (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0008555/0.2592, allocations: 332.1 kB / 0.9098 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000711/0.2599, allocations: 275.6 kB / 0.9101 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.26, allocations: 0 / 0.9101 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.2602, allocations: 99.89 kB / 0.9102 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.2607, allocations: 24.92 kB / 0.9102 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2619, allocations: 0.5529 MB / 0.9107 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.2621, allocations: 0.7521 MB / 0.9115 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.2623, allocations: 54.38 kB / 0.9115 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.2624, allocations: 19.44 kB / 0.9115 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.2624, allocations: 0 / 0.9115 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.00898/0.2714, allocations: 3.013 MB / 0.9145 GB, free: 49.24 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)