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.0007531/0.000753, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008039/0.0008039, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7375/0.7375, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003298, allocations: 12.5 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4175, allocations: 81.58 MB / 0.5832 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001432/0.419, allocations: 1.151 MB / 0.5843 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.4193, allocations: 183.7 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.4194, allocations: 2.375 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.4194, allocations: 0.5625 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.4195, allocations: 5.203 kB / 0.5845 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.4197, allocations: 23.88 kB / 0.5845 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.4198, allocations: 19.42 kB / 0.5845 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.4199, allocations: 11.03 kB / 0.5845 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.4199, allocations: 13.02 kB / 0.5845 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.42, allocations: 9.328 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.42, allocations: 1.375 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-05/0.4201, allocations: 27.59 kB / 0.5846 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.4201, allocations: 6.484 kB / 0.5846 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.4201, allocations: 31.11 kB / 0.5846 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.451e-05/0.4202, allocations: 27.19 kB / 0.5846 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.4202, allocations: 0 / 0.5846 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4202, allocations: 0 / 0.5846 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.4203, allocations: 0 / 0.5846 GB, free: 2.961 MB / 430.1 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.0003768/0.4206, allocations: 352 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4207, allocations: 9.469 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.4207, allocations: 31.95 kB / 0.585 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.4208, allocations: 6.359 kB / 0.585 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.593e-05/0.4208, allocations: 168.9 kB / 0.5852 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.4209, allocations: 5.625 kB / 0.5852 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.4209, allocations: 0.9375 kB / 0.5852 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.4211, allocations: 62.16 kB / 0.5852 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4211, allocations: 0 / 0.5852 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4211, allocations: 1.375 kB / 0.5852 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4211, allocations: 0 / 0.5852 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.4213, allocations: 45.95 kB / 0.5853 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.4216, allocations: 253 kB / 0.5855 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.4217, allocations: 40.55 kB / 0.5856 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.818e-05/0.4218, allocations: 36.66 kB / 0.5856 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.702e-05/0.4219, allocations: 81.05 kB / 0.5857 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4219, allocations: 31.88 kB / 0.5857 GB, free: 1.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4219, allocations: 0 / 0.5857 GB, free: 1.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003595/0.4223, allocations: 99.94 kB / 0.5858 GB, free: 1.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.4223, allocations: 55.88 kB / 0.5858 GB, free: 1.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.4224, allocations: 102.4 kB / 0.5859 GB, free: 1.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.4224, allocations: 25.7 kB / 0.586 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.4224, allocations: 87.64 kB / 0.5861 GB, free: 1.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.4225, allocations: 4.562 kB / 0.5861 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.4225, allocations: 5.219 kB / 0.5861 GB, free: 1.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.4225, allocations: 313.2 kB / 0.5864 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.4226, allocations: 25.58 kB / 0.5864 GB, free: 1.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.4227, allocations: 27.92 kB / 0.5864 GB, free: 1.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.138e-05/0.4228, allocations: 23.73 kB / 0.5864 GB, free: 1.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4228, allocations: 0 / 0.5864 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.423, allocations: 77.66 kB / 0.5865 GB, free: 1.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.423, allocations: 4.75 kB / 0.5865 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.423, allocations: 5.141 kB / 0.5865 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.423, allocations: 0 / 0.5865 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.4231, allocations: 16.27 kB / 0.5865 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4231, allocations: 3.953 kB / 0.5865 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.4232, allocations: 13.69 kB / 0.5865 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4232, allocations: 4 kB / 0.5866 GB, free: 1.113 MB / 430.1 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.4233, allocations: 109.6 kB / 0.5867 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.4233, allocations: 5.906 kB / 0.5867 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.4235, allocations: 93.73 kB / 0.5868 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4236, allocations: 0.75 kB / 0.5868 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4236, allocations: 0 / 0.5868 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4236, allocations: 5.281 kB / 0.5868 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.4237, allocations: 156.7 kB / 0.5869 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4237, allocations: 0 / 0.5869 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.4238, allocations: 15.17 kB / 0.5869 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4238, allocations: 0.8125 kB / 0.5869 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4238, allocations: 1.438 kB / 0.5869 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4238, allocations: 4.031 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4239, allocations: 1.469 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.4241, allocations: 177.3 kB / 0.5871 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.4242, allocations: 81.66 kB / 0.5872 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.4242, allocations: 1.094 kB / 0.5872 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.4243, allocations: 9.547 kB / 0.5872 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.4243, allocations: 6.109 kB / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4243, allocations: 1.062 kB / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.057e-05/0.4244, allocations: 80.08 kB / 0.5873 GB, free: 428 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4244, allocations: 0.6562 kB / 0.5873 GB, free: 428 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.4246, allocations: 14.03 kB / 0.5873 GB, free: 424 kB / 430.1 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 () * 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 (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.0005321/0.4252, allocations: 0.721 MB / 0.588 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4254, allocations: 50.02 kB / 0.588 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4254, allocations: 0 / 0.588 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/0.4255, allocations: 25.36 kB / 0.5881 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4257, allocations: 6 kB / 0.5881 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.4261, allocations: 145.6 kB / 0.5882 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.4264, allocations: 0.6763 MB / 0.5889 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.382e-05/0.4264, allocations: 1.594 kB / 0.5889 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.4265, allocations: 13.14 kB / 0.5889 GB, free: 14.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4265, allocations: 3.938 kB / 0.5889 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.438, allocations: 1.159 MB / 0.59 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.4383, allocations: 181.2 kB / 0.5902 GB, free: 14.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.133, allocations: 4.812 kB / 0.5902 GB, free: 14.46 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: