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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000817/0.000817, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001004/0.001004, allocations: 172.7 kB / 15.95 MB, free: 208 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.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9718/0.9718, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004456, allocations: 12.84 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 82.31 MB / 0.5875 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002025/0.2214, allocations: 1.148 MB / 0.5886 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005065/0.2219, allocations: 186.1 kB / 0.5888 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.222, allocations: 0 / 0.5888 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.222, allocations: 0 / 0.5888 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.2221, allocations: 3.938 kB / 0.5888 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.2224, allocations: 23.95 kB / 0.5888 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.357e-05/0.2225, allocations: 19.94 kB / 0.5888 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.2226, allocations: 11.97 kB / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.2227, allocations: 11.94 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.2227, allocations: 7.984 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2227, allocations: 4 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2229, allocations: 31.97 kB / 0.5889 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2229, allocations: 7.938 kB / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.2229, allocations: 25.7 kB / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.2231, allocations: 27.94 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2231, allocations: 0 / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2231, allocations: 0 / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.2231, allocations: 0 / 0.5889 GB, free: 1.391 MB / 494.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.0005294/0.2237, allocations: 355.5 kB / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2237, allocations: 8.031 kB / 0.5893 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.2238, allocations: 30.56 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.2238, allocations: 4 kB / 0.5893 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.224, allocations: 163 kB / 0.5895 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.224, allocations: 4 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.224, allocations: 0 / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.2242, allocations: 69.55 kB / 0.5895 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2243, allocations: 0 / 0.5895 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2243, allocations: 0 / 0.5895 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2243, allocations: 0 / 0.5895 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.2245, allocations: 43.95 kB / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.225, allocations: 260.8 kB / 0.5898 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.2251, allocations: 42.56 kB / 0.5899 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.2253, allocations: 24.91 kB / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.2254, allocations: 89.03 kB / 0.59 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2254, allocations: 34.56 kB / 0.59 GB, free: 96 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2255, allocations: 3.938 kB / 0.59 GB, free: 92 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004814/0.2259, allocations: 97.64 kB / 0.5901 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.226, allocations: 51.41 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.2261, allocations: 97.86 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2261, allocations: 25.7 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.2262, allocations: 88.14 kB / 0.5904 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.2262, allocations: 8.016 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.2263, allocations: 4 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2264, allocations: 314.8 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.2265, allocations: 23.98 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.2266, allocations: 23.92 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.2268, allocations: 28.03 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2268, allocations: 0 / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002688/0.227, allocations: 73.67 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2271, allocations: 8 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2271, allocations: 0 / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2271, allocations: 0 / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.2272, allocations: 11.98 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2272, allocations: 0 / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.2273, allocations: 11.98 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2273, allocations: 4 kB / 0.5908 GB, free: 15.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/0.2274, allocations: 117.8 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.2275, allocations: 7.906 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.2278, allocations: 84.72 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2278, allocations: 4.031 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2278, allocations: 3.938 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.2278, allocations: 3.984 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.2281, allocations: 157.6 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2281, allocations: 0 / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.2282, allocations: 11.98 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2282, allocations: 4 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2283, allocations: 0 / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2283, allocations: 0 / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2283, allocations: 0 / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.2287, allocations: 179.4 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.2288, allocations: 85.34 kB / 0.5915 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.2288, allocations: 4.031 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2289, allocations: 11.98 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.229, allocations: 4 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.229, allocations: 0 / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001135/0.2291, allocations: 87.27 kB / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2291, allocations: 0 / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003634/0.2295, allocations: 11.94 kB / 0.5916 GB, free: 14.32 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 (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.0007981/0.2303, allocations: 0.7124 MB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.2306, allocations: 55.92 kB / 0.5923 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2306, allocations: 0 / 0.5923 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2307, allocations: 23.98 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.2311, allocations: 8.125 kB / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.2318, allocations: 138.4 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.2323, allocations: 0.6809 MB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.2324, allocations: 4 kB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.2324, allocations: 11.44 kB / 0.5932 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.2324, allocations: 0 / 0.5932 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.2506, allocations: 1.18 MB / 0.5943 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.2509, allocations: 177.8 kB / 0.5945 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.905, allocations: 0 / 0.5945 GB, free: 11.31 MB / 0.4981 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) Environment - environmentSimulation: