Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round.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.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01087/0.01087, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003544, allocations: 14.23 kB / 0.9158 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2905, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0006449/0.2912, allocations: 338.8 kB / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002509/0.2915, allocations: 71.78 kB / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-06/0.2915, allocations: 0 / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.2915, allocations: 0 / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.2915, allocations: 0 / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.2917, allocations: 19.97 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.032e-05/0.2917, allocations: 7.984 kB / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.2918, allocations: 4 kB / 1.075 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.748e-05/0.2918, allocations: 4 kB / 1.075 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.2919, allocations: 7.938 kB / 1.075 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2919, allocations: 4 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.806e-05/0.292, allocations: 19.97 kB / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.292, allocations: 7.984 kB / 1.075 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.292, allocations: 29.64 kB / 1.075 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.627e-05/0.2921, allocations: 23.91 kB / 1.075 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2921, allocations: 0 / 1.075 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2921, allocations: 0 / 1.075 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.625e-06/0.2921, allocations: 0 / 1.075 GB, free: 7.016 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000304/0.2924, allocations: 315.6 kB / 1.075 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2925, allocations: 12.03 kB / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.2925, allocations: 0.9375 kB / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.2926, allocations: 168.4 kB / 1.075 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2926, allocations: 4.375 kB / 1.075 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2926, allocations: 4.375 kB / 1.075 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.2928, allocations: 70.48 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2928, allocations: 192 / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2928, allocations: 7.922 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2928, allocations: 4 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.2928, allocations: 19.92 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.293, allocations: 175.5 kB / 1.075 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.2931, allocations: 108.9 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.2932, allocations: 36.48 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.2933, allocations: 85.09 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.2934, allocations: 42.5 kB / 1.076 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2934, allocations: 0 / 1.076 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001691/0.2935, allocations: 77.39 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.2936, allocations: 162.8 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.749e-05/0.2937, allocations: 89.86 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2937, allocations: 29.7 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.2937, allocations: 80.14 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.2937, allocations: 15.75 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.2938, allocations: 13.72 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2939, allocations: 314.8 kB / 1.076 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.2939, allocations: 4 kB / 1.076 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.2939, allocations: 36.23 kB / 1.076 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.191e-05/0.294, allocations: 52.22 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.294, allocations: 0 / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.469e-05/0.2941, allocations: 65.62 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2941, allocations: 8 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2941, allocations: 0 / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2942, allocations: 7.938 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.2942, allocations: 15.92 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2942, allocations: 0 / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.2943, allocations: 0 / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2943, allocations: 4 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.48e-05/0.2944, allocations: 110 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.2944, allocations: 8.125 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.2946, allocations: 112.4 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2946, allocations: 4 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2946, allocations: 4.156 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2946, allocations: 4 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.2947, allocations: 169.6 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2948, allocations: 0 / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.2948, allocations: 16 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2948, allocations: 0 / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2948, allocations: 11.88 kB / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2948, allocations: 0 / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2949, allocations: 3.984 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.295, allocations: 128.4 kB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.295, allocations: 81.02 kB / 1.077 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.2951, allocations: 7.938 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.729e-05/0.2951, allocations: 0 / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.2951, allocations: 19.92 kB / 1.077 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.2951, allocations: 4 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.2952, allocations: 75.28 kB / 1.077 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2952, allocations: 0 / 1.077 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002045/0.2954, allocations: 8 kB / 1.077 GB, free: 3.789 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001711/0.2956, allocations: 111.2 kB / 1.077 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.2957, allocations: 32.17 kB / 1.077 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2957, allocations: 4.062 kB / 1.077 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.2957, allocations: 27.88 kB / 1.077 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.2959, allocations: 7.938 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.2962, allocations: 158.5 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.2965, allocations: 0.677 MB / 1.078 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.2965, allocations: 12 kB / 1.078 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.2965, allocations: 11.44 kB / 1.078 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2965, allocations: 0 / 1.078 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of Templates: time 0.002754/0.2993, allocations: 0.5397 MB / 1.079 GB, free: 2.137 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)