Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007923/0.007923, allocations: 100.1 kB / 15.73 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 198.7 kB / 16.68 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.827/0.827, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 61.83 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1892, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.00269/0.192, allocations: 1.432 MB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.1924, allocations: 200.2 kB / 0.6608 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.1924, allocations: 0 / 0.6608 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.1925, allocations: 3.984 kB / 0.6608 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.1926, allocations: 3.938 kB / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1928, allocations: 35.91 kB / 0.6608 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.1929, allocations: 19.94 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.193, allocations: 11.97 kB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.382e-05/0.193, allocations: 15.94 kB / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.1931, allocations: 7.984 kB / 0.6609 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1931, allocations: 7.938 kB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.1932, allocations: 31.97 kB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.1932, allocations: 0 / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.1933, allocations: 19.86 kB / 0.6609 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1934, allocations: 43.88 kB / 0.661 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1934, allocations: 0 / 0.661 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1934, allocations: 0 / 0.661 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.1934, allocations: 0 / 0.661 GB, free: 8.902 MB / 0.4981 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.0004855/0.1939, allocations: 346.3 kB / 0.6613 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.194, allocations: 8.031 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.194, allocations: 34.69 kB / 0.6613 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1941, allocations: 8.938 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1942, allocations: 164.4 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1942, allocations: 384 / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.1942, allocations: 384 / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1944, allocations: 50.23 kB / 0.6616 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1944, allocations: 3.938 kB / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1944, allocations: 4 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.1944, allocations: 4 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.1946, allocations: 27.97 kB / 0.6616 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.195, allocations: 256.8 kB / 0.6618 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1951, allocations: 42.5 kB / 0.6619 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.1952, allocations: 24.89 kB / 0.6619 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.462e-05/0.1953, allocations: 81.11 kB / 0.662 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1953, allocations: 30.56 kB / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1953, allocations: 0 / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.1957, allocations: 89.67 kB / 0.6621 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1957, allocations: 51.41 kB / 0.6621 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.1958, allocations: 106 kB / 0.6623 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1958, allocations: 25.7 kB / 0.6623 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.1958, allocations: 80.7 kB / 0.6624 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1959, allocations: 12.12 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.1959, allocations: 13.72 kB / 0.6624 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.196, allocations: 310.8 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.1961, allocations: 28 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-05/0.1962, allocations: 16.05 kB / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1963, allocations: 40.83 kB / 0.6628 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1963, allocations: 3.938 kB / 0.6628 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.1965, allocations: 77.59 kB / 0.6628 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1966, allocations: 4 kB / 0.6628 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1966, allocations: 0 / 0.6628 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1966, allocations: 0 / 0.6628 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.1967, allocations: 11.98 kB / 0.6628 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1967, allocations: 0 / 0.6628 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.1967, allocations: 7.984 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1967, allocations: 3.938 kB / 0.6629 GB, free: 6.723 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/0.1968, allocations: 118.7 kB / 0.663 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1968, allocations: 7.906 kB / 0.663 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.1971, allocations: 72.7 kB / 0.663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1971, allocations: 0 / 0.663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1971, allocations: 4 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1971, allocations: 0 / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.1973, allocations: 161.6 kB / 0.6632 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1973, allocations: 0 / 0.6632 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.1973, allocations: 12.02 kB / 0.6632 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1974, allocations: 4 kB / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1974, allocations: 4 kB / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1974, allocations: 0 / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1974, allocations: 0 / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1976, allocations: 159.5 kB / 0.6634 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.1977, allocations: 81.14 kB / 0.6635 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1977, allocations: 0 / 0.6635 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1977, allocations: 11.98 kB / 0.6635 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1978, allocations: 7.938 kB / 0.6635 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1978, allocations: 0 / 0.6635 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.1979, allocations: 83.28 kB / 0.6636 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1979, allocations: 0 / 0.6636 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000227/0.1981, allocations: 12 kB / 0.6636 GB, free: 5.895 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000551/0.1987, allocations: 0.7162 MB / 0.6643 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.1989, allocations: 35.91 kB / 0.6643 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1989, allocations: 4.094 kB / 0.6643 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.199, allocations: 19.97 kB / 0.6643 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1993, allocations: 8 kB / 0.6643 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.1997, allocations: 139.1 kB / 0.6645 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1999, allocations: 0.6768 MB / 0.6651 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.2, allocations: 7.984 kB / 0.6651 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.2, allocations: 15.5 kB / 0.6651 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.2, allocations: 0 / 0.6651 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.2175, allocations: 1.42 MB / 0.6665 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.463, allocations: 15.36 kB / 0.6665 GB, free: 2.84 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)