Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.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.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.664/1.664, allocations: 287.5 MB / 302.6 MB, free: 8.152 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.001163/0.001163, allocations: 180.6 kB / 371.2 MB, free: 10.84 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.726/1.726, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0009002/0.0009003, allocations: 97.91 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 13.45 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2446, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0007355/0.2454, allocations: 327.5 kB / 0.979 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.2456, allocations: 59.83 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.2457, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.2457, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.726e-06/0.2457, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.246, allocations: 23.91 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.538e-05/0.246, allocations: 4 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.2461, allocations: 8 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.2461, allocations: 8 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.2462, allocations: 7.984 kB / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2462, allocations: 0 / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.2463, allocations: 19.91 kB / 0.9791 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.2463, allocations: 8 kB / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.2463, allocations: 25.7 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.369e-05/0.2464, allocations: 7.984 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2464, allocations: 0 / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2464, allocations: 0 / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2464, allocations: 0 / 0.9792 GB, free: 27.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002927/0.2467, allocations: 327.6 kB / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2468, allocations: 8.031 kB / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.2468, allocations: 8.875 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.781e-05/0.2469, allocations: 164.4 kB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2469, allocations: 384 / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2469, allocations: 384 / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2471, allocations: 78.47 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2471, allocations: 192 / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2471, allocations: 7.938 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2471, allocations: 0 / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.67e-05/0.2472, allocations: 19.88 kB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.2474, allocations: 189.4 kB / 0.9799 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.2474, allocations: 97.03 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.2475, allocations: 28.36 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.2477, allocations: 93.08 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2477, allocations: 42.5 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.2478, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002089/0.248, allocations: 70.09 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.248, allocations: 166.2 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.775e-05/0.248, allocations: 89.86 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.2481, allocations: 25.7 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.123e-05/0.2481, allocations: 84.08 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.2481, allocations: 15.81 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2481, allocations: 0 / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.2482, allocations: 310.8 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.2482, allocations: 11.98 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.2482, allocations: 32.3 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.348e-05/0.2483, allocations: 48.23 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2483, allocations: 0 / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.103e-05/0.2484, allocations: 69.55 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2484, allocations: 8 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2484, allocations: 0 / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2485, allocations: 3.938 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.2485, allocations: 8 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2486, allocations: 7.984 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.2486, allocations: 4.156 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2486, allocations: 4 kB / 0.9811 GB, free: 25.33 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.2487, allocations: 113.8 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.2487, allocations: 15.78 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.2489, allocations: 108.7 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2489, allocations: 4 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2489, allocations: 0 / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2489, allocations: 4 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.249, allocations: 161.7 kB / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.249, allocations: 0 / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.2491, allocations: 15.98 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2491, allocations: 7.984 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2491, allocations: 3.938 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2491, allocations: 8.156 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2491, allocations: 3.938 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2493, allocations: 128.3 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.2493, allocations: 85.11 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2493, allocations: 3.938 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.2494, allocations: 4 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.2494, allocations: 11.98 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.2494, allocations: 4 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.294e-05/0.2494, allocations: 75.28 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2494, allocations: 0 / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002231/0.2496, allocations: 4 kB / 0.9818 GB, free: 24.47 MB / 0.6198 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 (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.0001596/0.2498, allocations: 111.2 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.2499, allocations: 35.86 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2499, allocations: 0 / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.25, allocations: 27.92 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.2501, allocations: 11.88 kB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.2504, allocations: 158.7 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2505, allocations: 0.6809 MB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.69e-05/0.2506, allocations: 15.98 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.2506, allocations: 11.44 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2506, allocations: 0 / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.002546/0.2532, allocations: 0.528 MB / 0.9834 GB, free: 22.82 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)