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.7276/0.7276, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 183.8 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.001152/0.001152, allocations: 86.47 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.626e-05/4.628e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1636, allocations: 76.77 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5958/0.7594, allocations: 103.3 MB / 0.7291 GB, free: 10.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.7598, allocations: 76.45 kB / 0.7292 GB, free: 10.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004328/0.7642, allocations: 1.426 MB / 0.7306 GB, free: 8.758 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7642, allocations: 3.938 kB / 0.7306 GB, free: 8.754 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.7642, allocations: 4 kB / 0.7306 GB, free: 8.75 MB / 490.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.0004237/0.7646, allocations: 342.3 kB / 0.7309 GB, free: 8.375 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.7647, allocations: 12.03 kB / 0.731 GB, free: 8.363 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.7648, allocations: 34.5 kB / 0.731 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.7648, allocations: 8.641 kB / 0.731 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.765, allocations: 171 kB / 0.7312 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.765, allocations: 0 / 0.7312 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.765, allocations: 0 / 0.7312 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.7652, allocations: 48.67 kB / 0.7312 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7652, allocations: 4 kB / 0.7312 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.7652, allocations: 0 / 0.7312 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.7652, allocations: 0.5469 kB / 0.7312 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.7653, allocations: 15.77 kB / 0.7312 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.7657, allocations: 251 kB / 0.7315 GB, free: 7.758 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.7658, allocations: 26.52 kB / 0.7315 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.7658, allocations: 15.64 kB / 0.7315 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/0.7665, allocations: 471.6 kB / 0.732 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.7666, allocations: 34.56 kB / 0.732 GB, free: 7.121 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7666, allocations: 0 / 0.732 GB, free: 7.121 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001943/0.7668, allocations: 47.95 kB / 0.732 GB, free: 7.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.7668, allocations: 58.91 kB / 0.7321 GB, free: 7.004 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.767, allocations: 96.44 kB / 0.7322 GB, free: 6.906 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.767, allocations: 25.7 kB / 0.7322 GB, free: 6.875 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.7671, allocations: 91.03 kB / 0.7323 GB, free: 6.785 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.7671, allocations: 11.97 kB / 0.7323 GB, free: 6.773 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.7671, allocations: 0 / 0.7323 GB, free: 6.773 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7672, allocations: 314.7 kB / 0.7326 GB, free: 6.461 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.7673, allocations: 4 kB / 0.7326 GB, free: 6.457 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.7673, allocations: 7.312 kB / 0.7326 GB, free: 6.453 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.7673, allocations: 7.984 kB / 0.7326 GB, free: 6.445 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7673, allocations: 0 / 0.7326 GB, free: 6.445 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.89e-05/0.7674, allocations: 45.42 kB / 0.7327 GB, free: 6.398 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7674, allocations: 8.031 kB / 0.7327 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7675, allocations: 4 kB / 0.7327 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7675, allocations: 0 / 0.7327 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.7676, allocations: 11.94 kB / 0.7327 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.7676, allocations: 4 kB / 0.7327 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.7676, allocations: 4.812 kB / 0.7327 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.7676, allocations: 4 kB / 0.7327 GB, free: 6.363 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 7.721e-05/0.7677, allocations: 104.5 kB / 0.7328 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.7678, allocations: 0 / 0.7328 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.7679, allocations: 56.97 kB / 0.7329 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7679, allocations: 0 / 0.7329 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.7679, allocations: 7.938 kB / 0.7329 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7679, allocations: 0 / 0.7329 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.7681, allocations: 168.6 kB / 0.733 GB, free: 5.988 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.7681, allocations: 4 kB / 0.733 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.7682, allocations: 11.92 kB / 0.733 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7682, allocations: 4 kB / 0.733 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.7682, allocations: 0 / 0.733 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7682, allocations: 4.031 kB / 0.733 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7682, allocations: 0 / 0.733 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.7684, allocations: 142.7 kB / 0.7332 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.7684, allocations: 77.11 kB / 0.7333 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.7684, allocations: 4 kB / 0.7333 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.7685, allocations: 0 / 0.7333 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.7686, allocations: 7.984 kB / 0.7333 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.7686, allocations: 4.031 kB / 0.7333 GB, free: 5.707 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.7686, allocations: 86.78 kB / 0.7334 GB, free: 5.625 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7686, allocations: 0 / 0.7334 GB, free: 5.625 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.7688, allocations: 23.89 kB / 0.7334 GB, free: 5.602 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.0005696/0.7694, allocations: 0.7 MB / 0.7341 GB, free: 4.883 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.7695, allocations: 18.69 kB / 0.7341 GB, free: 4.871 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7695, allocations: 0 / 0.7341 GB, free: 4.871 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.39e-05/0.7696, allocations: 7.938 kB / 0.7341 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.7697, allocations: 3.812 kB / 0.7341 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.7701, allocations: 110.3 kB / 0.7342 GB, free: 4.723 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.7704, allocations: 0.6809 MB / 0.7349 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.837e-05/0.7704, allocations: 8.125 kB / 0.7349 GB, free: 4.008 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.7705, allocations: 15.23 kB / 0.7349 GB, free: 3.996 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.7705, allocations: 0 / 0.7349 GB, free: 3.996 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.7831, allocations: 1.377 MB / 0.7362 GB, free: 2.738 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.7833, allocations: 160.5 kB / 0.7364 GB, free: 2.508 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.35, allocations: 4 kB / 0.7364 GB, free: 2.504 MB / 490.7 MB (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)