Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",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.001161/0.001161, allocations: 174.6 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.718/0.718, 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.53/1.53, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.0009595/0.0009594, allocations: 94.34 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.085e-05, allocations: 3.969 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6057/0.8175, allocations: 111.3 MB / 0.7492 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.8178, allocations: 73.19 kB / 0.7493 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004039/0.8218, allocations: 1.35 MB / 0.7506 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.986e-06/0.8219, allocations: 0 / 0.7506 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.8219, allocations: 0 / 0.7506 GB, free: 27.54 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.0003435/0.8222, allocations: 359.8 kB / 0.7509 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8223, allocations: 7.688 kB / 0.751 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.8223, allocations: 30.56 kB / 0.751 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.8224, allocations: 7.75 kB / 0.751 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.8225, allocations: 167 kB / 0.7511 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.8225, allocations: 13.12 kB / 0.7512 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.8225, allocations: 3.984 kB / 0.7512 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.815e-05/0.8226, allocations: 35.19 kB / 0.7512 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.8226, allocations: 4 kB / 0.7512 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.8226, allocations: 0 / 0.7512 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8226, allocations: 3.844 kB / 0.7512 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.8227, allocations: 11.72 kB / 0.7512 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.8231, allocations: 268.1 kB / 0.7515 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.122e-05/0.8231, allocations: 25.3 kB / 0.7515 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.8232, allocations: 11.48 kB / 0.7515 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.308e-05/0.8232, allocations: 83.2 kB / 0.7516 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.8233, allocations: 30.56 kB / 0.7516 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8233, allocations: 0 / 0.7516 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000135/0.8234, allocations: 49.36 kB / 0.7517 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.8235, allocations: 51.41 kB / 0.7517 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.988e-05/0.8235, allocations: 105.1 kB / 0.7518 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.8235, allocations: 29.55 kB / 0.7518 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.8236, allocations: 84.05 kB / 0.7519 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.8236, allocations: 3.312 kB / 0.7519 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.8236, allocations: 0 / 0.7519 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.8237, allocations: 317.1 kB / 0.7522 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.8237, allocations: 7.406 kB / 0.7522 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.8238, allocations: 3.969 kB / 0.7522 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.8238, allocations: 10.94 kB / 0.7522 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.8238, allocations: 0 / 0.7522 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.887e-05/0.8239, allocations: 51.47 kB / 0.7523 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.8239, allocations: 3.812 kB / 0.7523 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.8239, allocations: 0 / 0.7523 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.8239, allocations: 0 / 0.7523 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.824, allocations: 14.7 kB / 0.7523 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.824, allocations: 0 / 0.7523 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.8241, allocations: 10.83 kB / 0.7523 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.8241, allocations: 3.844 kB / 0.7523 GB, free: 25.77 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.064e-05/0.8242, allocations: 108.4 kB / 0.7524 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.8242, allocations: 0 / 0.7524 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.8243, allocations: 50.36 kB / 0.7525 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.8243, allocations: 0 / 0.7525 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8243, allocations: 0 / 0.7525 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8243, allocations: 3.047 kB / 0.7525 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.8245, allocations: 169.2 kB / 0.7526 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8245, allocations: 0 / 0.7526 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.8245, allocations: 10.81 kB / 0.7527 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8246, allocations: 3.938 kB / 0.7527 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.8246, allocations: 0 / 0.7527 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8246, allocations: 0.9375 kB / 0.7527 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8246, allocations: 0 / 0.7527 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.8247, allocations: 147.4 kB / 0.7528 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.8247, allocations: 81.08 kB / 0.7529 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.8247, allocations: 0 / 0.7529 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.8248, allocations: 6.312 kB / 0.7529 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.8249, allocations: 9.562 kB / 0.7529 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.8249, allocations: 4.812 kB / 0.7529 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.8249, allocations: 83.09 kB / 0.753 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8249, allocations: 0 / 0.753 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002371/0.8252, allocations: 21.81 kB / 0.753 GB, free: 25.1 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.0004014/0.8256, allocations: 0.6797 MB / 0.7537 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.566e-05/0.8257, allocations: 13.69 kB / 0.7537 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8257, allocations: 0 / 0.7537 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.8257, allocations: 15.72 kB / 0.7537 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.8259, allocations: 6.531 kB / 0.7537 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.8262, allocations: 96.41 kB / 0.7538 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.8264, allocations: 0.6786 MB / 0.7544 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.8264, allocations: 3.844 kB / 0.7545 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.8265, allocations: 10.75 kB / 0.7545 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.8265, allocations: 0 / 0.7545 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.8371, allocations: 1.143 MB / 0.7556 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.8373, allocations: 149.9 kB / 0.7557 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.317, allocations: 3.75 kB / 0.7557 GB, free: 23.22 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)