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.668/1.668, allocations: 288.4 MB / 303.4 MB, free: 8.23 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.001029/0.001029, allocations: 186.3 kB / 372 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.69/1.69, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008779/0.0008781, allocations: 102.2 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004955, allocations: 11.03 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2848, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.002392/0.2873, allocations: 1.453 MB / 0.981 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.2893, allocations: 1.535 MB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.2894, allocations: 11.94 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.2896, allocations: 23.8 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2898, allocations: 11.92 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.0005611/0.2903, allocations: 192.8 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.2906, allocations: 215.5 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2908, allocations: 49.83 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.2909, allocations: 75.73 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.291, allocations: 63.77 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2911, allocations: 7.984 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.2914, allocations: 167.7 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.2915, allocations: 71.8 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.2915, allocations: 57.62 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.2918, allocations: 271.7 kB / 0.9837 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2918, allocations: 0 / 0.9837 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2918, allocations: 0 / 0.9837 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2919, allocations: 0 / 0.9837 GB, free: 23.49 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.0008752/0.2927, allocations: 0.534 MB / 0.9842 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2928, allocations: 12.02 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.2929, allocations: 31.66 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2931, allocations: 242.7 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.2931, allocations: 20.33 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.2932, allocations: 20 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.2935, allocations: 204.1 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2936, allocations: 0 / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.2936, allocations: 11.98 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2936, allocations: 11.95 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.2938, allocations: 116.5 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.2952, allocations: 0.5938 MB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/0.2959, allocations: 298.4 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2961, allocations: 92.81 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.2961, allocations: 4 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.2965, allocations: 176 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.2965, allocations: 0 / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0006091/0.2971, allocations: 393.2 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.2972, allocations: 67.38 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.2973, allocations: 186.2 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.2973, allocations: 45.69 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.2974, allocations: 124.6 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.2975, allocations: 75.09 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.2975, allocations: 8 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.2976, allocations: 334.8 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2978, allocations: 116.7 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.298, allocations: 256.5 kB / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.2982, allocations: 155.8 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2982, allocations: 4 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005482/0.2988, allocations: 421 kB / 0.988 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2988, allocations: 4 kB / 0.988 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2988, allocations: 4 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2988, allocations: 8 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.299, allocations: 63.91 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.299, allocations: 11.89 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.2992, allocations: 47.83 kB / 0.9882 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2992, allocations: 16 kB / 0.9882 GB, free: 18.57 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.0001486/0.2994, allocations: 180.3 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.2994, allocations: 19.81 kB / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.2995, allocations: 21.88 kB / 0.9884 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2995, allocations: 3.984 kB / 0.9884 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2995, allocations: 7.984 kB / 0.9884 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2995, allocations: 3.953 kB / 0.9884 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.3003, allocations: 0.6777 MB / 0.9891 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3003, allocations: 0 / 0.9891 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.3004, allocations: 15.98 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3004, allocations: 8 kB / 0.9891 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3004, allocations: 11.98 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3004, allocations: 3.953 kB / 0.9891 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3004, allocations: 0 / 0.9891 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.301, allocations: 0.504 MB / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.3011, allocations: 108.8 kB / 0.9897 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3011, allocations: 15.98 kB / 0.9897 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.3013, allocations: 19.98 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.3014, allocations: 23.92 kB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.3014, allocations: 15.98 kB / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.891e-05/0.3015, allocations: 132.3 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3015, allocations: 4 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004037/0.3019, allocations: 107.8 kB / 0.99 GB, free: 16.61 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.0007055/0.3026, allocations: 319 kB / 0.9903 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.3031, allocations: 279.7 kB / 0.9906 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3031, allocations: 0 / 0.9906 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3032, allocations: 108.8 kB / 0.9907 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3036, allocations: 28.69 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.3044, allocations: 0.5405 MB / 0.9912 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.3046, allocations: 0.7484 MB / 0.992 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.3047, allocations: 58.36 kB / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.3048, allocations: 19.44 kB / 0.9921 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.3048, allocations: 0 / 0.9921 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.005745/0.3106, allocations: 3.022 MB / 0.995 GB, free: 11.51 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)