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.49/2.49, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001433/0.001433, allocations: 172.8 kB / 360.6 MB, free: 7.289 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.118/2.118, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001459/0.001459, allocations: 97 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.242e-05, allocations: 8 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8816, allocations: 115.3 MB / 0.9634 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/1.126, allocations: 136.6 MB / 1.097 GB, free: 3.887 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.126, allocations: 76.61 kB / 1.097 GB, free: 3.812 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002174/1.128, allocations: 0.6154 MB / 1.098 GB, free: 3.207 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/1.128, allocations: 0 / 1.098 GB, free: 3.207 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.25e-06/1.128, allocations: 0.6562 kB / 1.098 GB, free: 3.207 MB / 0.698 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.0003503/1.129, allocations: 325.2 kB / 1.098 GB, free: 2.852 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.129, allocations: 8.031 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/1.129, allocations: 8.672 kB / 1.098 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/1.129, allocations: 169.6 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/1.129, allocations: 2.156 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/1.129, allocations: 0 / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.897e-05/1.129, allocations: 7.938 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/1.129, allocations: 67.58 kB / 1.098 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.129, allocations: 0 / 1.098 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.129, allocations: 4 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.129, allocations: 0.5938 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/1.129, allocations: 167.8 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/1.129, allocations: 93.86 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/1.13, allocations: 33.55 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/1.13, allocations: 81.75 kB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.13, allocations: 46.59 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/1.13, allocations: 1 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0005621/1.13, allocations: 90.83 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.131, allocations: 162.8 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.358e-05/1.131, allocations: 85.62 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/1.131, allocations: 26.7 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/1.131, allocations: 80.14 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/1.131, allocations: 11.75 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/1.131, allocations: 0.5312 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.131, allocations: 323.5 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/1.131, allocations: 0.625 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-05/1.131, allocations: 41.55 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/1.131, allocations: 42.61 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.131, allocations: 3.938 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005047/1.132, allocations: 90.92 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.132, allocations: 6.031 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.132, allocations: 5.406 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.132, allocations: 0 / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/1.132, allocations: 15.92 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.132, allocations: 7.375 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/1.132, allocations: 0 / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/1.132, allocations: 4 kB / 1.099 GB, free: 0.9492 MB / 0.698 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 () * 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 8.471e-05/1.132, allocations: 104.8 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004631/1.133, allocations: 102.8 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/1.133, allocations: 5.641 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/1.133, allocations: 127.9 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.133, allocations: 4.094 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/1.133, allocations: 4 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.133, allocations: 0 / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/1.134, allocations: 138.2 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.134, allocations: 0 / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/1.134, allocations: 17.48 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/1.134, allocations: 7.953 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/1.134, allocations: 0 / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.134, allocations: 4 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.134, allocations: 3.938 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/1.134, allocations: 203.2 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/1.134, allocations: 85.05 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/1.134, allocations: 4 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.304e-05/1.134, allocations: 0 / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/1.135, allocations: 11.94 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/1.135, allocations: 5.594 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of sorting global known variables: time 6.197e-05/1.135, allocations: 75.28 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.135, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002854/1.135, allocations: 12 kB / 1.1 GB, free: 15.93 MB / 0.7136 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 () * 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.001114/1.136, allocations: 1.015 MB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001317/1.136, allocations: 23.94 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.136, allocations: 7.938 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/1.136, allocations: 20.31 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/1.136, allocations: 10.72 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/1.137, allocations: 131.4 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/1.137, allocations: 0.6807 MB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.998e-05/1.137, allocations: 13.5 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/1.137, allocations: 19.42 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/1.137, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/1.171, allocations: 0.9299 MB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/1.172, allocations: 140.7 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.543, allocations: 4.031 kB / 1.103 GB, free: 12.81 MB / 0.7136 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)