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.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001629/0.001629, allocations: 197 kB / 16.14 MB, free: 6.688 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.25 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3264, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002668/0.3291, allocations: 0.6541 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004389/0.3296, allocations: 71.77 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.3296, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.3297, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.045e-05/0.3297, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.3301, allocations: 15.98 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.3301, allocations: 11.98 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.3302, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.3302, allocations: 15.92 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.3303, allocations: 4 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3303, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3305, allocations: 15.98 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.3305, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.3305, allocations: 15.92 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3306, allocations: 19.91 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3306, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3307, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3307, allocations: 0 / 1.068 GB, free: 10.08 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.0005193/0.3312, allocations: 331.5 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.3313, allocations: 8.031 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.3313, allocations: 0.9375 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3314, allocations: 164.4 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3315, allocations: 8.375 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3315, allocations: 384 / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3317, allocations: 78.48 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3317, allocations: 192 / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3317, allocations: 3.938 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.3318, allocations: 7.938 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.3318, allocations: 15.92 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.3321, allocations: 179.7 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3322, allocations: 101 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.3323, allocations: 32.36 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.3325, allocations: 89.08 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.3326, allocations: 38.5 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3326, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002449/0.3328, allocations: 81.39 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/0.333, allocations: 158.2 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.027e-05/0.333, allocations: 89.86 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.333, allocations: 26.33 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.3331, allocations: 84.14 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3331, allocations: 19.75 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.3332, allocations: 21.7 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3333, allocations: 310.8 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.3333, allocations: 4 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.094e-05/0.3334, allocations: 40.22 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.3335, allocations: 48.23 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3335, allocations: 128 / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.3336, allocations: 61.75 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3336, allocations: 12.03 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3336, allocations: 7.969 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3337, allocations: 7.938 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.3337, allocations: 11.94 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3338, allocations: 0 / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.3338, allocations: 7.938 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3338, allocations: 4 kB / 1.07 GB, free: 7.695 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 9.57e-05/0.3339, allocations: 113.8 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.3339, allocations: 3.984 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.3342, allocations: 112.4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3342, allocations: 7.938 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3342, allocations: 0 / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3342, allocations: 8.156 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.3344, allocations: 165.7 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3344, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.3344, allocations: 16 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.3345, allocations: 3.984 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3345, allocations: 7.938 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3345, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3345, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3346, allocations: 132.4 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.3347, allocations: 85 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.3347, allocations: 7.938 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.011e-05/0.3348, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.3348, allocations: 11.94 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.3348, allocations: 8 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.663e-05/0.3348, allocations: 75.28 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3348, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002253/0.3351, allocations: 11.98 kB / 1.071 GB, free: 6.824 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.0001789/0.3353, allocations: 107.2 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3354, allocations: 31.92 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3354, allocations: 320 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.3354, allocations: 35.86 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.3356, allocations: 9.656 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.3359, allocations: 156.5 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3362, allocations: 0.6848 MB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.3363, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.3363, allocations: 15.42 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3363, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.002811/0.3391, allocations: 0.5514 MB / 1.073 GB, free: 5.16 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)