Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001411/0.001411, allocations: 177 kB / 377.1 MB, free: 1.5 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.997/1.997, allocations: 205.4 MB / 0.6366 GB, free: 8.609 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000987/0.0009871, allocations: 89.56 kB / 0.7509 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004372, allocations: 15.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3162, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8407/1.157, allocations: 138.5 MB / 1.124 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/1.157, allocations: 75.53 kB / 1.124 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001702/1.159, allocations: 0.6182 MB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.944e-06/1.159, allocations: 0.5469 kB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.159, allocations: 4 kB / 1.124 GB, free: 35.32 MB / 0.7292 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.0002866/1.159, allocations: 323.9 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.159, allocations: 16.55 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/1.159, allocations: 35.19 kB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/1.159, allocations: 7.625 kB / 1.125 GB, free: 34.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.321e-05/1.16, allocations: 159.1 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/1.16, allocations: 5.156 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/1.16, allocations: 3.438 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/1.16, allocations: 72.95 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.16, allocations: 3.938 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.16, allocations: 4 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.16, allocations: 0.8125 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/1.16, allocations: 15.41 kB / 1.125 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/1.16, allocations: 180.5 kB / 1.125 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/1.16, allocations: 98.78 kB / 1.125 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/1.16, allocations: 88.47 kB / 1.125 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/1.16, allocations: 34.56 kB / 1.125 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/1.16, allocations: 0 / 1.125 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0002081/1.161, allocations: 82.88 kB / 1.125 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/1.161, allocations: 162.1 kB / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.025e-05/1.161, allocations: 85 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/1.161, allocations: 25.7 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.723e-05/1.161, allocations: 88.75 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/1.161, allocations: 19.27 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/1.161, allocations: 4.562 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/1.161, allocations: 314.8 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/1.161, allocations: 4 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/1.161, allocations: 32.52 kB / 1.126 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/1.161, allocations: 16 kB / 1.126 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.161, allocations: 0 / 1.126 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.203e-05/1.161, allocations: 68.98 kB / 1.126 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.161, allocations: 4 kB / 1.126 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.161, allocations: 4 kB / 1.126 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.161, allocations: 0 / 1.126 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/1.161, allocations: 8 kB / 1.126 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/1.161, allocations: 11.38 kB / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/1.161, allocations: 5.344 kB / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/1.161, allocations: 4.797 kB / 1.126 GB, free: 33.11 MB / 0.7292 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.832e-05/1.161, allocations: 109.8 kB / 1.126 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/1.161, allocations: 7.953 kB / 1.126 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/1.162, allocations: 104.3 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/1.162, allocations: 0.75 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.162, allocations: 4 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.162, allocations: 4.266 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/1.162, allocations: 157.1 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.162, allocations: 4 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/1.162, allocations: 19.86 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.162, allocations: 1.078 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/1.162, allocations: 12.11 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.162, allocations: 4.812 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.162, allocations: 4 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/1.162, allocations: 167.2 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/1.162, allocations: 88.95 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/1.162, allocations: 4 kB / 1.127 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.103e-05/1.162, allocations: 4 kB / 1.127 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/1.162, allocations: 15.27 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/1.162, allocations: 1.062 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.758e-05/1.162, allocations: 87.78 kB / 1.127 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/1.162, allocations: 0 / 1.127 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000204/1.162, allocations: 9.25 kB / 1.127 GB, free: 32.22 MB / 0.7292 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.0004798/1.163, allocations: 0.987 MB / 1.128 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001041/1.163, allocations: 31.8 kB / 1.128 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.163, allocations: 5.094 kB / 1.128 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/1.163, allocations: 27.36 kB / 1.128 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/1.163, allocations: 4 kB / 1.128 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/1.164, allocations: 192.6 kB / 1.128 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/1.164, allocations: 0.6845 MB / 1.129 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.41e-05/1.164, allocations: 8.703 kB / 1.129 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/1.164, allocations: 15.44 kB / 1.129 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of SimCode: time 4.929e-06/1.164, allocations: 0 / 1.129 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/1.175, allocations: 1.188 MB / 1.13 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/1.176, allocations: 170.9 kB / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.703, allocations: 0 / 1.13 GB, free: 29.32 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)