Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.845/2.845, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001627/0.001627, allocations: 184.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001178/0.001177, allocations: 90.23 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005015, allocations: 10.86 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2362, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.002394/0.2387, allocations: 1.457 MB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2414, allocations: 1.546 MB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2415, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.2418, allocations: 23.86 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.2419, allocations: 23.89 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000766/0.2427, allocations: 200.6 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.243, allocations: 167.7 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2432, allocations: 45.89 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.2433, allocations: 75.75 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.2435, allocations: 63.75 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2435, allocations: 8 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.244, allocations: 143.8 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.2441, allocations: 67.8 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.2442, allocations: 65.56 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.2447, allocations: 279.7 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2447, allocations: 0 / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.185e-06/0.2447, allocations: 0 / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2447, allocations: 0 / 0.9822 GB, free: 24.22 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.001213/0.2459, allocations: 0.5262 MB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.246, allocations: 12.02 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.2461, allocations: 23.72 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.2464, allocations: 240 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.2465, allocations: 12.33 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.2465, allocations: 28 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.2471, allocations: 204.2 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2471, allocations: 0 / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.2471, allocations: 11.94 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2471, allocations: 4 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.2475, allocations: 124.5 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.2496, allocations: 0.5938 MB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.2509, allocations: 290.5 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.251, allocations: 12.02 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.2514, allocations: 175.1 kB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 4.077e-06/0.2514, allocations: 3.938 kB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.001054/0.2525, allocations: 462.5 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.2526, allocations: 75.39 kB / 0.9849 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.2528, allocations: 178.2 kB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.2529, allocations: 57.56 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.253, allocations: 120.6 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.392e-05/0.2531, allocations: 75.08 kB / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.2531, allocations: 12 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.2532, allocations: 338.8 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.2535, allocations: 112.8 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.2539, allocations: 248.6 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.2543, allocations: 151.9 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2543, allocations: 0 / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009331/0.2553, allocations: 416.9 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2553, allocations: 8 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2553, allocations: 4 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.2553, allocations: 8 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.2557, allocations: 63.84 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.2557, allocations: 11.95 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.256, allocations: 48.17 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2561, allocations: 20 kB / 0.9867 GB, free: 19.33 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.0002483/0.2564, allocations: 184.3 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.2564, allocations: 19.81 kB / 0.9869 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.2565, allocations: 17.88 kB / 0.9869 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2565, allocations: 4 kB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2565, allocations: 0 / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2565, allocations: 7.938 kB / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.258, allocations: 0.6739 MB / 0.9876 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.258, allocations: 0 / 0.9876 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.2582, allocations: 23.98 kB / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2582, allocations: 96 / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.2583, allocations: 15.92 kB / 0.9876 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.2583, allocations: 3.953 kB / 0.9876 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2583, allocations: 0 / 0.9876 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009953/0.2593, allocations: 0.5156 MB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.2594, allocations: 100.9 kB / 0.9882 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.2594, allocations: 15.98 kB / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.2597, allocations: 19.98 kB / 0.9883 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.2598, allocations: 19.92 kB / 0.9883 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.2599, allocations: 15.98 kB / 0.9883 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001121/0.26, allocations: 140.2 kB / 0.9884 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.26, allocations: 0 / 0.9884 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000648/0.2607, allocations: 111.8 kB / 0.9885 GB, free: 17.36 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.0008892/0.2616, allocations: 331.4 kB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007567/0.2623, allocations: 267.6 kB / 0.9891 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.2624, allocations: 4.938 kB / 0.9891 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.2626, allocations: 111.8 kB / 0.9892 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.263, allocations: 16 kB / 0.9892 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2642, allocations: 0.5288 MB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2645, allocations: 0.7562 MB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002452/0.2647, allocations: 46.25 kB / 0.9905 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.2648, allocations: 19.44 kB / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.2648, allocations: 0 / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.009291/0.2741, allocations: 3.018 MB / 0.9935 GB, free: 12.28 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)