Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_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.001189/0.001189, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7328/0.7328, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 101.2 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.731e-05/4.771e-05, allocations: 3.906 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1731, allocations: 82.32 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6314/0.8046, allocations: 112 MB / 0.7499 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.8048, allocations: 75.89 kB / 0.7499 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004255/0.8091, allocations: 1.415 MB / 0.7513 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8091, allocations: 0 / 0.7513 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.8091, allocations: 0 / 0.7513 GB, free: 27.23 MB / 0.5105 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.0003342/0.8094, allocations: 351.8 kB / 0.7517 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8095, allocations: 14.19 kB / 0.7517 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.8095, allocations: 35.06 kB / 0.7517 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.8096, allocations: 0 / 0.7517 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.8097, allocations: 178.5 kB / 0.7519 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.8097, allocations: 0 / 0.7519 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.8097, allocations: 5.391 kB / 0.7519 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.8098, allocations: 39.48 kB / 0.7519 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8098, allocations: 7.984 kB / 0.7519 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.8099, allocations: 2.906 kB / 0.7519 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8099, allocations: 0 / 0.7519 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.8099, allocations: 11.5 kB / 0.7519 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.8102, allocations: 263.4 kB / 0.7522 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.203e-05/0.8103, allocations: 29.58 kB / 0.7522 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.8103, allocations: 8.703 kB / 0.7522 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/0.811, allocations: 471.3 kB / 0.7527 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.811, allocations: 37.38 kB / 0.7527 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.811, allocations: 0 / 0.7527 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.8112, allocations: 41.17 kB / 0.7528 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.8112, allocations: 54.27 kB / 0.7528 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.8113, allocations: 104.5 kB / 0.7529 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.8113, allocations: 25.7 kB / 0.7529 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.8114, allocations: 90.64 kB / 0.753 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.8114, allocations: 7.844 kB / 0.753 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.8114, allocations: 4.031 kB / 0.753 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.8115, allocations: 318.7 kB / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.8115, allocations: 3.844 kB / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218e-05/0.8115, allocations: 7.594 kB / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.8116, allocations: 6.422 kB / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8116, allocations: 0 / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.166e-05/0.8117, allocations: 44.33 kB / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8117, allocations: 7.938 kB / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8117, allocations: 4.094 kB / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.8117, allocations: 0 / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.8118, allocations: 3.875 kB / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8118, allocations: 3.938 kB / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.8118, allocations: 6.938 kB / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.8119, allocations: 0 / 0.7534 GB, free: 25.09 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 6.815e-05/0.8119, allocations: 112.5 kB / 0.7535 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.812, allocations: 3.906 kB / 0.7535 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.8121, allocations: 54.75 kB / 0.7536 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8121, allocations: 0 / 0.7536 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8121, allocations: 0 / 0.7536 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8121, allocations: 0 / 0.7536 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.8123, allocations: 167.6 kB / 0.7537 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8123, allocations: 0 / 0.7537 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.8123, allocations: 7.75 kB / 0.7537 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8123, allocations: 7.016 kB / 0.7538 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8123, allocations: 0 / 0.7538 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8124, allocations: 0 / 0.7538 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8124, allocations: 8.719 kB / 0.7538 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.8125, allocations: 141.9 kB / 0.7539 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.8125, allocations: 84.83 kB / 0.754 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.8125, allocations: 0 / 0.754 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.8126, allocations: 0 / 0.754 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.8127, allocations: 7.203 kB / 0.754 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.8127, allocations: 4 kB / 0.754 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.8127, allocations: 90.94 kB / 0.7541 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.062e-06/0.8127, allocations: 0 / 0.7541 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002394/0.813, allocations: 26.89 kB / 0.7541 GB, free: 24.41 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.0004005/0.8134, allocations: 0.6979 MB / 0.7548 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.8135, allocations: 18.88 kB / 0.7548 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8135, allocations: 0 / 0.7548 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/0.8135, allocations: 11.62 kB / 0.7548 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.8136, allocations: 0 / 0.7548 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.814, allocations: 109.6 kB / 0.7549 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.8142, allocations: 0.68 MB / 0.7556 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.8142, allocations: 3.875 kB / 0.7556 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.8143, allocations: 18.62 kB / 0.7556 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.8143, allocations: 0 / 0.7556 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.8266, allocations: 1.324 MB / 0.7569 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.8268, allocations: 143.7 kB / 0.757 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.298, allocations: 0 / 0.757 GB, free: 22.5 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)