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.001158/0.001158, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.00118/0.00118, allocations: 195.5 kB / 16.25 MB, free: 6.629 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7151/0.7151, allocations: 132.2 MB / 422.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 60.12 kB / 0.5014 GB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3101, allocations: 80.21 MB / 0.5797 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001982/0.3121, allocations: 1.494 MB / 0.5811 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.3124, allocations: 197 kB / 0.5813 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.3125, allocations: 1 kB / 0.5813 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.3125, allocations: 0.75 kB / 0.5813 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.587e-05/0.3125, allocations: 0.7188 kB / 0.5813 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.3127, allocations: 35.58 kB / 0.5814 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.151e-05/0.3127, allocations: 27.58 kB / 0.5814 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.3128, allocations: 4.719 kB / 0.5814 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.3128, allocations: 9.062 kB / 0.5814 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.463e-05/0.3128, allocations: 14.12 kB / 0.5814 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.385e-06/0.3129, allocations: 1.844 kB / 0.5814 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.3129, allocations: 37.61 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-06/0.3129, allocations: 2.094 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.533e-05/0.313, allocations: 11.98 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.509e-05/0.313, allocations: 43.12 kB / 0.5815 GB, free: 3.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.3131, allocations: 4 kB / 0.5815 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3131, allocations: 1.594 kB / 0.5815 GB, free: 3.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.3131, allocations: 0 / 0.5815 GB, free: 3.277 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.0002446/0.3133, allocations: 345.1 kB / 0.5818 GB, free: 2.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.559e-05/0.3133, allocations: 9.156 kB / 0.5819 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.534e-05/0.3134, allocations: 32.36 kB / 0.5819 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.554e-05/0.3134, allocations: 3.141 kB / 0.5819 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.689e-05/0.3134, allocations: 179.2 kB / 0.5821 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.3134, allocations: 1.078 kB / 0.5821 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.3135, allocations: 7 kB / 0.5821 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.3136, allocations: 51.86 kB / 0.5821 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.3136, allocations: 4.969 kB / 0.5821 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-06/0.3136, allocations: 0 / 0.5821 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-06/0.3136, allocations: 0 / 0.5821 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.3138, allocations: 33.11 kB / 0.5822 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.3139, allocations: 248.3 kB / 0.5824 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.314, allocations: 49.28 kB / 0.5824 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.3141, allocations: 24.14 kB / 0.5825 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.539e-05/0.3142, allocations: 80.28 kB / 0.5825 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.089e-05/0.3142, allocations: 33.08 kB / 0.5826 GB, free: 2.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3142, allocations: 4 kB / 0.5826 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002675/0.3145, allocations: 79.89 kB / 0.5826 GB, free: 2.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.538e-05/0.3145, allocations: 56.19 kB / 0.5827 GB, free: 2.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.417e-05/0.3145, allocations: 102.4 kB / 0.5828 GB, free: 1.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.3145, allocations: 26.7 kB / 0.5828 GB, free: 1.914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.3146, allocations: 81.7 kB / 0.5829 GB, free: 1.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.3146, allocations: 18.23 kB / 0.5829 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.3146, allocations: 12.31 kB / 0.5829 GB, free: 1.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.969e-05/0.3146, allocations: 313 kB / 0.5832 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.3147, allocations: 18.42 kB / 0.5832 GB, free: 1.484 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.3148, allocations: 14.27 kB / 0.5833 GB, free: 1.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.3149, allocations: 41.62 kB / 0.5833 GB, free: 1.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3149, allocations: 3.938 kB / 0.5833 GB, free: 1.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001598/0.3151, allocations: 71.17 kB / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.3151, allocations: 6.375 kB / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-06/0.3151, allocations: 0 / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.3151, allocations: 0.875 kB / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.3152, allocations: 13.75 kB / 0.5834 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.3152, allocations: 4.688 kB / 0.5834 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.3152, allocations: 5.188 kB / 0.5834 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.3152, allocations: 5.703 kB / 0.5834 GB, free: 1.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.3153, allocations: 115.2 kB / 0.5835 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.3153, allocations: 2.25 kB / 0.5835 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.3155, allocations: 71.2 kB / 0.5836 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3155, allocations: 5.859 kB / 0.5836 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3155, allocations: 0 / 0.5836 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-06/0.3155, allocations: 0.9062 kB / 0.5836 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.547e-05/0.3156, allocations: 165.4 kB / 0.5837 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3156, allocations: 0 / 0.5837 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.3157, allocations: 8.812 kB / 0.5838 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3157, allocations: 0.9062 kB / 0.5838 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-06/0.3157, allocations: 4.453 kB / 0.5838 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3157, allocations: 8.781 kB / 0.5838 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3157, allocations: 0 / 0.5838 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3159, allocations: 167.9 kB / 0.5839 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.3159, allocations: 82.45 kB / 0.584 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.3159, allocations: 2.094 kB / 0.584 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.316, allocations: 5.156 kB / 0.584 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.316, allocations: 7.469 kB / 0.584 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-06/0.316, allocations: 4.031 kB / 0.584 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.906e-05/0.316, allocations: 81.25 kB / 0.5841 GB, free: 0.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3161, allocations: 0 / 0.5841 GB, free: 0.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.3163, allocations: 9.406 kB / 0.5841 GB, free: 0.707 MB / 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 (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.0003159/0.3166, allocations: 0.7047 MB / 0.5848 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.3167, allocations: 39.58 kB / 0.5848 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.3168, allocations: 0 / 0.5848 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.3168, allocations: 17.64 kB / 0.5849 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.317, allocations: 6.625 kB / 0.5849 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.3174, allocations: 151.8 kB / 0.585 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.3176, allocations: 0.6761 MB / 0.5857 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.764e-05/0.3176, allocations: 2.141 kB / 0.5857 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.3176, allocations: 9.297 kB / 0.5857 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3176, allocations: 0 / 0.5857 GB, free: 15.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2449/0.5625, allocations: 1.274 MB / 0.5869 GB, free: 14.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.5628, allocations: 194.6 kB / 0.5871 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.18, allocations: 3.938 kB / 0.5871 GB, free: 14.65 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/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)