Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8862/0.8862, allocations: 127.4 MB / 134.9 MB, free: 3.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 173.2 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.2 MB / 399.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 91.84 kB / 476.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.713e-05, allocations: 4.938 kB / 0.5467 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1821, allocations: 76.76 MB / 0.6216 GB, free: 42.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.32, allocations: 102.7 MB / 0.7219 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.3204, allocations: 71.95 kB / 0.7219 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004647/0.325, allocations: 1.43 MB / 0.7233 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3251, allocations: 0 / 0.7233 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.3251, allocations: 0 / 0.7233 GB, free: 2.66 MB / 0.4948 GB 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.0003396/0.3254, allocations: 338.5 kB / 0.7237 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3255, allocations: 8.031 kB / 0.7237 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.3255, allocations: 7.859 kB / 0.7237 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3257, allocations: 171 kB / 0.7238 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3257, allocations: 0 / 0.7238 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.3257, allocations: 7.938 kB / 0.7238 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.721e-05/0.3258, allocations: 12 kB / 0.7239 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.523e-05/0.3259, allocations: 41.67 kB / 0.7239 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3259, allocations: 0 / 0.7239 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3259, allocations: 4 kB / 0.7239 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3259, allocations: 3.953 kB / 0.7239 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.3262, allocations: 221.5 kB / 0.7241 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.4e-05/0.3263, allocations: 34.52 kB / 0.7242 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.3264, allocations: 20.84 kB / 0.7242 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006644/0.327, allocations: 469.4 kB / 0.7246 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3271, allocations: 30.56 kB / 0.7246 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.815e-06/0.3271, allocations: 0 / 0.7246 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.003314/0.3304, allocations: 0.548 MB / 0.7252 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3305, allocations: 59.36 kB / 0.7252 GB, free: 464 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.3306, allocations: 96.91 kB / 0.7253 GB, free: 360 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3306, allocations: 33.7 kB / 0.7254 GB, free: 320 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.3307, allocations: 80.14 kB / 0.7254 GB, free: 236 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.3307, allocations: 3.906 kB / 0.7254 GB, free: 232 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.3307, allocations: 0 / 0.7254 GB, free: 232 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3309, allocations: 322.8 kB / 0.7258 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.3309, allocations: 4.031 kB / 0.7258 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.3309, allocations: 8 kB / 0.7258 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.334, allocations: 0.5112 MB / 0.7263 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.334, allocations: 4 kB / 0.7263 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003114/0.3371, allocations: 0.5441 MB / 0.7268 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3371, allocations: 4 kB / 0.7268 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3372, allocations: 0 / 0.7268 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3372, allocations: 0 / 0.7268 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.3373, allocations: 12.03 kB / 0.7268 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3373, allocations: 3.984 kB / 0.7268 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.3373, allocations: 7.953 kB / 0.7268 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3373, allocations: 4 kB / 0.7268 GB, free: 14.79 MB / 0.5105 GB 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 7.481e-05/0.3374, allocations: 103.1 kB / 0.7269 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003059/0.3405, allocations: 0.5518 MB / 0.7275 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.3405, allocations: 7.906 kB / 0.7275 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.3436, allocations: 0.5519 MB / 0.728 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3437, allocations: 0 / 0.728 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3437, allocations: 3.953 kB / 0.728 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3437, allocations: 4 kB / 0.728 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3439, allocations: 142.2 kB / 0.7282 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3439, allocations: 0 / 0.7282 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3439, allocations: 4 kB / 0.7282 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3439, allocations: 0 / 0.7282 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3439, allocations: 4 kB / 0.7282 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.344, allocations: 4.031 kB / 0.7282 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.344, allocations: 0 / 0.7282 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.3471, allocations: 0.6435 MB / 0.7288 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.3472, allocations: 85.02 kB / 0.7289 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3472, allocations: 3.938 kB / 0.7289 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.3473, allocations: 7.984 kB / 0.7289 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3473, allocations: 3.938 kB / 0.7289 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3473, allocations: 0 / 0.7289 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.3474, allocations: 87.28 kB / 0.729 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3474, allocations: 0 / 0.729 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002617/0.3477, allocations: 27.92 kB / 0.729 GB, free: 12.48 MB / 0.5105 GB 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.003605/0.3513, allocations: 1.2 MB / 0.7302 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.602e-05/0.3514, allocations: 12 kB / 0.7302 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3514, allocations: 0 / 0.7302 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.3515, allocations: 11.98 kB / 0.7302 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.3516, allocations: 3.234 kB / 0.7302 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.3521, allocations: 101.5 kB / 0.7303 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3523, allocations: 0.6886 MB / 0.731 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.3524, allocations: 7.984 kB / 0.731 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.3524, allocations: 11.44 kB / 0.731 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.3524, allocations: 0 / 0.731 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.3733, allocations: 1.071 MB / 0.732 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.3736, allocations: 135.1 kB / 0.7322 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.965, allocations: 0 / 0.7322 GB, free: 9.105 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)