Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008252/0.008252, allocations: 174.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 10.94 kB / 0.9158 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002075/0.33, allocations: 1.517 MB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.3321, allocations: 1.572 MB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.3322, allocations: 0 / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.3323, allocations: 31.84 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3325, allocations: 11.86 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.333, allocations: 199.5 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.3333, allocations: 227.5 kB / 1.078 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3334, allocations: 61.5 kB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3336, allocations: 83.69 kB / 1.078 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.3337, allocations: 71.67 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.3337, allocations: 4 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.3341, allocations: 183.7 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/0.3342, allocations: 67.81 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3343, allocations: 113.2 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.3347, allocations: 375.2 kB / 1.079 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3347, allocations: 4 kB / 1.079 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3347, allocations: 0 / 1.079 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3347, allocations: 4 kB / 1.079 GB, free: 3.062 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007504/0.3355, allocations: 0.5024 MB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3355, allocations: 8.031 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.3356, allocations: 24.75 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.3359, allocations: 268.6 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.336, allocations: 20.36 kB / 1.079 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.336, allocations: 31.94 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.3364, allocations: 197.5 kB / 1.08 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3365, allocations: 0 / 1.08 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.3365, allocations: 7.984 kB / 1.08 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3365, allocations: 7.938 kB / 1.08 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.3368, allocations: 135.6 kB / 1.08 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.338, allocations: 0.5821 MB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.3384, allocations: 206.5 kB / 1.08 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3386, allocations: 101.5 kB / 1.081 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3386, allocations: 4.438 kB / 1.081 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.3389, allocations: 175.9 kB / 1.081 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.893e-06/0.3389, allocations: 0 / 1.081 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007034/0.3396, allocations: 397.1 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3397, allocations: 67.39 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3399, allocations: 187.1 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.3399, allocations: 45.7 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.34, allocations: 132.9 kB / 1.082 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.3401, allocations: 82.98 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.3402, allocations: 53.69 kB / 1.082 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3403, allocations: 334.8 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.3405, allocations: 116.8 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.3408, allocations: 253.5 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.3413, allocations: 383.8 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3413, allocations: 7.938 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006243/0.3419, allocations: 416.9 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.342, allocations: 8 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.342, allocations: 4 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.342, allocations: 8.469 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.3422, allocations: 67.84 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3422, allocations: 11.98 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3424, allocations: 35.69 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.3424, allocations: 19.98 kB / 1.083 GB, free: 13.88 MB / 0.8419 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 (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_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001741/0.3426, allocations: 192.2 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.3426, allocations: 15.81 kB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.3427, allocations: 26.55 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3427, allocations: 7.938 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3427, allocations: 0 / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3427, allocations: 0 / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.3437, allocations: 0.7017 MB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3437, allocations: 0 / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.3438, allocations: 19.98 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3438, allocations: 0 / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.3439, allocations: 11.98 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3439, allocations: 0 / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3439, allocations: 3.938 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007361/0.3446, allocations: 0.5266 MB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.3447, allocations: 96.77 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.3448, allocations: 24.02 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.3449, allocations: 12 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.3449, allocations: 23.95 kB / 1.085 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.345, allocations: 8 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.185e-05/0.3451, allocations: 131.2 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3451, allocations: 4 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004416/0.3455, allocations: 104 kB / 1.085 GB, free: 11.89 MB / 0.8419 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 (26): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0006653/0.3462, allocations: 332.9 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.3467, allocations: 276.5 kB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3467, allocations: 4.062 kB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.3469, allocations: 116.9 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3472, allocations: 23.98 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008269/0.3481, allocations: 0.5754 MB / 1.086 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3484, allocations: 0.7482 MB / 1.087 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.3485, allocations: 50.25 kB / 1.087 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3486, allocations: 27.42 kB / 1.087 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3486, allocations: 0 / 1.087 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of Templates: time 0.006489/0.3551, allocations: 3.097 MB / 1.09 GB, free: 6.664 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)