Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4563/0.4563, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008693/0.0008693, allocations: 98.75 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.95e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3591, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4791, allocations: 102.2 MB / 0.6601 GB, free: 2.105 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4793, allocations: 71.95 kB / 0.6602 GB, free: 2.035 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004052/0.4834, allocations: 1.42 MB / 0.6616 GB, free: 0.625 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4834, allocations: 0 / 0.6616 GB, free: 0.625 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4834, allocations: 4 kB / 0.6616 GB, free: 0.6211 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003343/0.4838, allocations: 350.3 kB / 0.6619 GB, free: 240 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4838, allocations: 15.98 kB / 0.6619 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.4839, allocations: 30.56 kB / 0.662 GB, free: 184 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.4839, allocations: 7.891 kB / 0.662 GB, free: 176 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.4841, allocations: 175 kB / 0.6621 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4841, allocations: 4 kB / 0.6621 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.4841, allocations: 0 / 0.6621 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.4842, allocations: 46.66 kB / 0.6622 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4842, allocations: 0 / 0.6622 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.4842, allocations: 0 / 0.6622 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4842, allocations: 3.953 kB / 0.6622 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.422e-05/0.4843, allocations: 12 kB / 0.6622 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.4846, allocations: 252.8 kB / 0.6624 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/0.4847, allocations: 34.52 kB / 0.6625 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.4847, allocations: 12.92 kB / 0.6625 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/0.4853, allocations: 473.4 kB / 0.6629 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4853, allocations: 30.56 kB / 0.663 GB, free: 14.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.4853, allocations: 0 / 0.663 GB, free: 14.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001408/0.4855, allocations: 42.59 kB / 0.663 GB, free: 14.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.4855, allocations: 59.41 kB / 0.6631 GB, free: 14.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.4856, allocations: 96.98 kB / 0.6632 GB, free: 14.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.4856, allocations: 33.73 kB / 0.6632 GB, free: 14.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.4857, allocations: 80.14 kB / 0.6633 GB, free: 14.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.4857, allocations: 7.906 kB / 0.6633 GB, free: 14.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.4857, allocations: 4 kB / 0.6633 GB, free: 14.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.4858, allocations: 314.8 kB / 0.6636 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.4858, allocations: 7.938 kB / 0.6636 GB, free: 14.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.4859, allocations: 8 kB / 0.6636 GB, free: 14.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.4859, allocations: 6.531 kB / 0.6636 GB, free: 14.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4859, allocations: 4.062 kB / 0.6636 GB, free: 14.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.644e-05/0.486, allocations: 49.59 kB / 0.6636 GB, free: 14.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.486, allocations: 4 kB / 0.6636 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.486, allocations: 0 / 0.6636 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.486, allocations: 3.953 kB / 0.6637 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.4861, allocations: 4 kB / 0.6637 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4861, allocations: 4 kB / 0.6637 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.4862, allocations: 4 kB / 0.6637 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.4862, allocations: 7.984 kB / 0.6637 GB, free: 14.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.801e-05/0.4863, allocations: 105 kB / 0.6638 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.4863, allocations: 4.812 kB / 0.6638 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.4864, allocations: 53.28 kB / 0.6638 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4864, allocations: 0 / 0.6638 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4864, allocations: 3.953 kB / 0.6638 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4864, allocations: 4 kB / 0.6638 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.4866, allocations: 163.8 kB / 0.664 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4866, allocations: 0 / 0.664 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.4867, allocations: 8.031 kB / 0.664 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4867, allocations: 4 kB / 0.664 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.4867, allocations: 0 / 0.664 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4867, allocations: 0 / 0.664 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4867, allocations: 0 / 0.664 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4868, allocations: 151.3 kB / 0.6641 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.4869, allocations: 77.11 kB / 0.6642 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.4869, allocations: 12.02 kB / 0.6642 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.487, allocations: 0 / 0.6642 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.487, allocations: 5.031 kB / 0.6642 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.487, allocations: 0 / 0.6642 GB, free: 13.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.349e-05/0.4871, allocations: 93.19 kB / 0.6643 GB, free: 13.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4871, allocations: 0 / 0.6643 GB, free: 13.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002216/0.4873, allocations: 23.92 kB / 0.6643 GB, free: 13.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003835/0.4877, allocations: 0.6929 MB / 0.665 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.4878, allocations: 19.98 kB / 0.665 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4878, allocations: 0 / 0.665 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.4878, allocations: 4 kB / 0.665 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.4879, allocations: 4 kB / 0.6651 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.4883, allocations: 121 kB / 0.6652 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.4885, allocations: 0.6848 MB / 0.6658 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.736e-05/0.4885, allocations: 12.86 kB / 0.6658 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.4886, allocations: 11.44 kB / 0.6659 GB, free: 11.75 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4886, allocations: 0 / 0.6659 GB, free: 11.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.4998, allocations: 1.338 MB / 0.6672 GB, free: 10.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.5, allocations: 140.6 kB / 0.6673 GB, free: 10.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.346/1.846, allocations: 0 / 0.6673 GB, free: 10.33 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)