Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.077/2.077, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 195.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009647, allocations: 115.7 kB / 0.9329 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 58.8 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2251, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001593/0.2268, allocations: 0.6644 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000256/0.2271, allocations: 63.78 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.2271, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.2271, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-06/0.2271, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.2273, allocations: 23.91 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.207e-05/0.2274, allocations: 15.98 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.2274, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.2275, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.2275, allocations: 11.98 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2275, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.2276, allocations: 23.91 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.2276, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.2276, allocations: 4 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.555e-05/0.2277, allocations: 27.84 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2277, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2277, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.2277, allocations: 4 kB / 1.219 GB, free: 116.4 MB / 0.823 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.0002942/0.228, allocations: 331.6 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2281, allocations: 11.98 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.2281, allocations: 0.9375 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.806e-05/0.2282, allocations: 160.4 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.2282, allocations: 4.375 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.2282, allocations: 384 / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.2283, allocations: 78.47 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2283, allocations: 192 / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2284, allocations: 11.88 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2284, allocations: 7.984 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.2284, allocations: 7.938 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.2285, allocations: 191.1 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.2286, allocations: 93.02 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.2286, allocations: 36.34 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.2288, allocations: 85.11 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2288, allocations: 34.5 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.2288, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001818/0.229, allocations: 81.67 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.2291, allocations: 158.2 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.724e-05/0.2291, allocations: 89.89 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.2291, allocations: 25.7 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.088e-05/0.2291, allocations: 80.14 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.2292, allocations: 23.73 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.2292, allocations: 22.09 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.2e-05/0.2293, allocations: 318.8 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.2293, allocations: 7.984 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.2293, allocations: 40.23 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.2294, allocations: 52.22 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2294, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.229e-05/0.2295, allocations: 57.62 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2295, allocations: 8 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2295, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2295, allocations: 7.938 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.2296, allocations: 20.08 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.2296, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.2297, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.2297, allocations: 8 kB / 1.221 GB, free: 114 MB / 0.823 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 5.02e-05/0.2297, allocations: 110.5 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.2297, allocations: 3.906 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.2299, allocations: 108.5 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2299, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2299, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2299, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.958e-05/0.2301, allocations: 161.7 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2301, allocations: 128 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.2301, allocations: 27.98 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2301, allocations: 4.156 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2301, allocations: 7.938 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2302, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2302, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.2304, allocations: 0.6819 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.2305, allocations: 88.95 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2305, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.919e-05/0.2305, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.2305, allocations: 7.984 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.2306, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.583e-05/0.2306, allocations: 79.28 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.01e-07/0.2306, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000297/0.2309, allocations: 15.88 kB / 1.222 GB, free: 112.6 MB / 0.823 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.0001614/0.2311, allocations: 103.2 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.2312, allocations: 31.92 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2312, allocations: 4 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.2312, allocations: 28.48 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.2314, allocations: 12.06 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.2317, allocations: 269 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2318, allocations: 0.6888 MB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.059e-05/0.2318, allocations: 8 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.2318, allocations: 11.44 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of SimCode: time 3.3e-07/0.2318, allocations: 0 / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of Templates: time 0.002156/0.234, allocations: 0.5715 MB / 1.224 GB, free: 110.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)