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.696/1.696, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001079/0.001079, allocations: 196.8 kB / 366.7 MB, free: 1.676 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.909/1.909, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009025/0.0009025, allocations: 91.47 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.404e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6975, allocations: 116.3 MB / 0.9734 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.9007, allocations: 137.8 MB / 1.108 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.901, allocations: 73.45 kB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001741/0.9027, allocations: 0.6181 MB / 1.109 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9028, allocations: 0 / 1.109 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9028, allocations: 0.6875 kB / 1.109 GB, free: 11.66 MB / 0.7136 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.0002969/0.9031, allocations: 331.3 kB / 1.109 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.9032, allocations: 12.53 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.9032, allocations: 0 / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.9033, allocations: 163.7 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.9033, allocations: 0 / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.9034, allocations: 4.875 kB / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.72e-05/0.9034, allocations: 11.98 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.9035, allocations: 70.61 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.9036, allocations: 0.5938 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.9036, allocations: 4 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.9036, allocations: 1.719 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.9038, allocations: 151.8 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.9039, allocations: 104.4 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.9039, allocations: 29.42 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.9041, allocations: 89.03 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.9041, allocations: 36.56 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.9041, allocations: 0 / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0004474/0.9046, allocations: 91.22 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.9047, allocations: 163.4 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.191e-05/0.9047, allocations: 88.03 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.9047, allocations: 25.7 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.9048, allocations: 80.14 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.9048, allocations: 23.73 kB / 1.11 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.9048, allocations: 0 / 1.11 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.9049, allocations: 310.8 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.905, allocations: 4 kB / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.905, allocations: 36.27 kB / 1.11 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.9052, allocations: 39.92 kB / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9052, allocations: 0 / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002899/0.9055, allocations: 96.98 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9056, allocations: 13.73 kB / 1.11 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9056, allocations: 0 / 1.11 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.9056, allocations: 0 / 1.11 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.9057, allocations: 8 kB / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9057, allocations: 4 kB / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.9057, allocations: 6.141 kB / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.9058, allocations: 7.984 kB / 1.111 GB, free: 9.406 MB / 0.7136 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 7.407e-05/0.9058, allocations: 106.5 kB / 1.111 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002883/0.9061, allocations: 89.56 kB / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.9062, allocations: 12.56 kB / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.9066, allocations: 126.2 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9066, allocations: 0.625 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.9066, allocations: 8 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.9066, allocations: 3.984 kB / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.9067, allocations: 141.7 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.9067, allocations: 3.984 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.9068, allocations: 15.94 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.9068, allocations: 4 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.9068, allocations: 3.953 kB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.9068, allocations: 6.344 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9069, allocations: 0 / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.9072, allocations: 207.2 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.9073, allocations: 81.05 kB / 1.111 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.9073, allocations: 7.984 kB / 1.111 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.649e-05/0.9073, allocations: 0 / 1.111 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.9073, allocations: 7.953 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.9074, allocations: 8 kB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.9074, allocations: 75.28 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9074, allocations: 0 / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002165/0.9076, allocations: 11.98 kB / 1.111 GB, free: 8.383 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.0007436/0.9084, allocations: 1.018 MB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.9085, allocations: 30.66 kB / 1.112 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9085, allocations: 0 / 1.112 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.9085, allocations: 23.92 kB / 1.112 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.9086, allocations: 2.031 kB / 1.112 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.909, allocations: 137 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.9092, allocations: 0.6846 MB / 1.113 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.548e-05/0.9093, allocations: 10.06 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.9093, allocations: 15.44 kB / 1.113 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.9093, allocations: 0 / 1.113 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.9308, allocations: 0.9224 MB / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/0.9311, allocations: 135.8 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.408, allocations: 0 / 1.114 GB, free: 5.262 MB / 0.7136 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)