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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.58/2.58, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.00151/0.00151, allocations: 181 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6295 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.001174/0.001174, allocations: 94.66 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006981/0.0006982, allocations: 14.39 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.255, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0007333/0.2558, allocations: 333.8 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002399/0.2561, allocations: 57.56 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.2561, allocations: 0 / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.2562, allocations: 0 / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.135e-06/0.2562, allocations: 4 kB / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.2564, allocations: 23.91 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.2565, allocations: 7.984 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.2565, allocations: 0 / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.2566, allocations: 4 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.2566, allocations: 15.92 kB / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.2567, allocations: 0 / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.2567, allocations: 11.98 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.2568, allocations: 3.984 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.2568, allocations: 29.7 kB / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.136e-05/0.2569, allocations: 11.98 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2569, allocations: 0 / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2569, allocations: 3.938 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2569, allocations: 4 kB / 0.9788 GB, free: 27.78 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.0003119/0.2572, allocations: 315.4 kB / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2573, allocations: 12.02 kB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.2573, allocations: 38.56 kB / 0.9791 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.2574, allocations: 3.938 kB / 0.9791 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.941e-05/0.2574, allocations: 167.3 kB / 0.9793 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2574, allocations: 0 / 0.9793 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2575, allocations: 8 kB / 0.9793 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.2576, allocations: 69.97 kB / 0.9794 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2576, allocations: 3.938 kB / 0.9794 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2576, allocations: 0 / 0.9794 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2577, allocations: 0 / 0.9794 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.728e-05/0.2577, allocations: 19.94 kB / 0.9794 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.2579, allocations: 193 kB / 0.9796 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.258, allocations: 97.11 kB / 0.9797 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.2582, allocations: 93.14 kB / 0.9798 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2582, allocations: 34.56 kB / 0.9798 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.2583, allocations: 0 / 0.9798 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.000219/0.2585, allocations: 73.55 kB / 0.9799 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.2585, allocations: 162.2 kB / 0.98 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.112e-05/0.2586, allocations: 93.8 kB / 0.9801 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.2586, allocations: 25.7 kB / 0.9801 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.588e-05/0.2586, allocations: 80.14 kB / 0.9802 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.2587, allocations: 16.44 kB / 0.9802 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.2587, allocations: 4 kB / 0.9802 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.2588, allocations: 314.8 kB / 0.9805 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.2588, allocations: 8 kB / 0.9805 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.2588, allocations: 28.3 kB / 0.9806 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.247e-05/0.2589, allocations: 23.94 kB / 0.9806 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2589, allocations: 0 / 0.9806 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001263/0.259, allocations: 61.56 kB / 0.9806 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2591, allocations: 4 kB / 0.9806 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2591, allocations: 0 / 0.9806 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2591, allocations: 4 kB / 0.9806 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2592, allocations: 11.98 kB / 0.9807 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2593, allocations: 3.938 kB / 0.9807 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.2593, allocations: 8.156 kB / 0.9807 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2593, allocations: 0 / 0.9807 GB, free: 25.5 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 6.966e-05/0.2594, allocations: 123.8 kB / 0.9808 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.2594, allocations: 7.906 kB / 0.9808 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.2597, allocations: 100.8 kB / 0.9809 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.2597, allocations: 7.938 kB / 0.9809 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2597, allocations: 4 kB / 0.9809 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2597, allocations: 0 / 0.9809 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2599, allocations: 161.7 kB / 0.9811 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2599, allocations: 3.953 kB / 0.9811 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.26, allocations: 23.92 kB / 0.9811 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.26, allocations: 0 / 0.9811 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.26, allocations: 8 kB / 0.9811 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2601, allocations: 4.156 kB / 0.9811 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2601, allocations: 4 kB / 0.9811 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.2603, allocations: 171.2 kB / 0.9813 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.2603, allocations: 77.11 kB / 0.9813 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2603, allocations: 8 kB / 0.9813 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.2604, allocations: 0 / 0.9813 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.2604, allocations: 11.94 kB / 0.9814 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.2604, allocations: 7.938 kB / 0.9814 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.932e-05/0.2605, allocations: 83.22 kB / 0.9814 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2605, allocations: 0 / 0.9814 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002752/0.2607, allocations: 12 kB / 0.9815 GB, free: 24.56 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.0004729/0.2612, allocations: 0.9834 MB / 0.9824 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2614, allocations: 27.92 kB / 0.9824 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2614, allocations: 4.312 kB / 0.9824 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.2615, allocations: 31.92 kB / 0.9825 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.2616, allocations: 192 / 0.9825 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.262, allocations: 188 kB / 0.9827 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.2622, allocations: 0.6866 MB / 0.9833 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.98e-05/0.2623, allocations: 11.91 kB / 0.9833 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.2624, allocations: 19.42 kB / 0.9834 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.2624, allocations: 0 / 0.9834 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.2848, allocations: 1.203 MB / 0.9845 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.2851, allocations: 180 kB / 0.9847 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/2.69, allocations: 0 / 0.9847 GB, free: 21.16 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)