Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.3 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 167.4 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 84.45 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006012/0.0006012, allocations: 14.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.368, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.004088/0.3722, allocations: 1.457 MB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.3756, allocations: 1.535 MB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3758, allocations: 11.88 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3761, allocations: 27.89 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.3763, allocations: 15.92 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.3771, allocations: 199.5 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.3774, allocations: 159.7 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3775, allocations: 45.89 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3777, allocations: 75.75 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.3779, allocations: 67.73 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.3779, allocations: 4 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.3783, allocations: 155.7 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3784, allocations: 67.81 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.3785, allocations: 57.58 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.3789, allocations: 275.7 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3789, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3789, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3789, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 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.001138/0.3801, allocations: 0.5379 MB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3802, allocations: 16.02 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.3802, allocations: 27.72 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3806, allocations: 240.5 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.3806, allocations: 16.31 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.3807, allocations: 24 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.3811, allocations: 200.2 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3812, allocations: 0 / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.3812, allocations: 8 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3812, allocations: 7.953 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.3815, allocations: 128.5 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.3831, allocations: 0.586 MB / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.3841, allocations: 302.5 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3841, allocations: 7.922 kB / 0.9855 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.3845, allocations: 163.2 kB / 0.9856 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.3845, allocations: 4 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0008484/0.3854, allocations: 470.5 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.3855, allocations: 75.33 kB / 0.9862 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3856, allocations: 178.2 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.3857, allocations: 49.7 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.3858, allocations: 124.6 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.3859, allocations: 75.08 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.3859, allocations: 15.94 kB / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.386, allocations: 342.8 kB / 0.9869 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.3862, allocations: 116.8 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.3866, allocations: 240.6 kB / 0.9872 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3869, allocations: 147.9 kB / 0.9874 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3869, allocations: 4 kB / 0.9874 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007083/0.3876, allocations: 416.7 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3876, allocations: 7.984 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3877, allocations: 4.469 kB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.3877, allocations: 12 kB / 0.9878 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.388, allocations: 63.86 kB / 0.9879 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.388, allocations: 7.984 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.3882, allocations: 47.62 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.3883, allocations: 16.19 kB / 0.9879 GB, free: 18.65 MB / 0.6198 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.000233/0.3885, allocations: 180.3 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.3886, allocations: 19.81 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.3886, allocations: 25.86 kB / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3886, allocations: 0 / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3886, allocations: 0 / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3887, allocations: 4 kB / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3898, allocations: 0.6855 MB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3898, allocations: 0 / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3899, allocations: 15.98 kB / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3899, allocations: 0 / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.39, allocations: 15.98 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.39, allocations: 0 / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.39, allocations: 3.953 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.3908, allocations: 0.5195 MB / 0.9894 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3909, allocations: 92.86 kB / 0.9895 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.3909, allocations: 16.03 kB / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3912, allocations: 28.06 kB / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.3913, allocations: 31.8 kB / 0.9895 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.3913, allocations: 15.98 kB / 0.9895 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001034/0.3914, allocations: 124.3 kB / 0.9897 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3914, allocations: 4 kB / 0.9897 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006413/0.3921, allocations: 111.8 kB / 0.9898 GB, free: 16.67 MB / 0.6198 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.0008435/0.3929, allocations: 325.8 kB / 0.9901 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.3935, allocations: 271.7 kB / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3935, allocations: 3.938 kB / 0.9904 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.3937, allocations: 107.9 kB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.394, allocations: 20.11 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3951, allocations: 0.5336 MB / 0.991 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3954, allocations: 0.7523 MB / 0.9917 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.3956, allocations: 50.25 kB / 0.9918 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.3956, allocations: 23.42 kB / 0.9918 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.3956, allocations: 0 / 0.9918 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.007818/0.4035, allocations: 3.014 MB / 0.9947 GB, free: 11.59 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)