Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.0007373/0.0007373, allocations: 92.16 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.0007768/0.0007768, 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.309/1.309, allocations: 223.2 MB / 240 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7361/0.7361, allocations: 132.3 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 12 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.423, allocations: 81.56 MB / 0.5832 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007045/0.4238, allocations: 331.2 kB / 0.5835 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003505/0.4241, allocations: 157.9 kB / 0.5836 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.4242, allocations: 0.7188 kB / 0.5836 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.4242, allocations: 3.188 kB / 0.5836 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.4242, allocations: 0 / 0.5836 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.4245, allocations: 28.52 kB / 0.5837 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.4245, allocations: 16.52 kB / 0.5837 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.4246, allocations: 1.469 kB / 0.5837 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.4246, allocations: 3.562 kB / 0.5837 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.4247, allocations: 17.2 kB / 0.5837 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4247, allocations: 2.188 kB / 0.5837 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.4248, allocations: 27.3 kB / 0.5837 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.4248, allocations: 9.562 kB / 0.5837 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.4248, allocations: 27.92 kB / 0.5838 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.578e-05/0.4249, allocations: 12.06 kB / 0.5838 GB, free: 3.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4249, allocations: 0.9062 kB / 0.5838 GB, free: 3.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4249, allocations: 0 / 0.5838 GB, free: 3.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.4249, allocations: 0 / 0.5838 GB, free: 3.609 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000287/0.4252, allocations: 331 kB / 0.5841 GB, free: 3.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4253, allocations: 13.53 kB / 0.5841 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.4253, allocations: 32.53 kB / 0.5841 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.4253, allocations: 1.938 kB / 0.5841 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.413e-05/0.4254, allocations: 167.4 kB / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.4254, allocations: 5.281 kB / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4254, allocations: 6.453 kB / 0.5843 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.4256, allocations: 40.92 kB / 0.5843 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4256, allocations: 0.6562 kB / 0.5843 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.4256, allocations: 1.219 kB / 0.5843 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4256, allocations: 4.609 kB / 0.5843 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.4256, allocations: 14.81 kB / 0.5844 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.4258, allocations: 163.1 kB / 0.5845 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.209e-05/0.4259, allocations: 47.61 kB / 0.5846 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.4259, allocations: 18.58 kB / 0.5846 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/0.426, allocations: 81.94 kB / 0.5847 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.426, allocations: 36 kB / 0.5847 GB, free: 2.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.426, allocations: 0 / 0.5847 GB, free: 2.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001113/0.4271, allocations: 494.4 kB / 0.5852 GB, free: 2.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.4272, allocations: 52.95 kB / 0.5852 GB, free: 2.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.936e-05/0.4272, allocations: 96.52 kB / 0.5853 GB, free: 2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.4272, allocations: 25.7 kB / 0.5853 GB, free: 1.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.325e-05/0.4273, allocations: 84.64 kB / 0.5854 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.4273, allocations: 28.64 kB / 0.5854 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.4273, allocations: 0 / 0.5854 GB, free: 1.863 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.4273, allocations: 321.5 kB / 0.5857 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.4274, allocations: 12.23 kB / 0.5858 GB, free: 1.539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.4274, allocations: 13.58 kB / 0.5858 GB, free: 1.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.4274, allocations: 12.89 kB / 0.5858 GB, free: 1.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.4274, allocations: 0 / 0.5858 GB, free: 1.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.487e-05/0.4275, allocations: 71.17 kB / 0.5858 GB, free: 1.484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4276, allocations: 6 kB / 0.5859 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4276, allocations: 4 kB / 0.5859 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.4276, allocations: 0.6562 kB / 0.5859 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.4277, allocations: 12.56 kB / 0.5859 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4277, allocations: 1.406 kB / 0.5859 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.4277, allocations: 5.031 kB / 0.5859 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.4277, allocations: 10.75 kB / 0.5859 GB, free: 1.469 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 (8): * Single equations (assignments): 8 * 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.046e-05/0.4278, allocations: 114.4 kB / 0.586 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.4278, allocations: 2.062 kB / 0.586 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.428, allocations: 91.86 kB / 0.5861 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.428, allocations: 1.594 kB / 0.5861 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.428, allocations: 0 / 0.5861 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.428, allocations: 2.078 kB / 0.5861 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.052e-05/0.4281, allocations: 170.2 kB / 0.5863 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4281, allocations: 1.188 kB / 0.5863 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.4282, allocations: 21.03 kB / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4282, allocations: 0 / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4282, allocations: 5.125 kB / 0.5863 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4282, allocations: 1.656 kB / 0.5863 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4282, allocations: 4 kB / 0.5863 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.4284, allocations: 117.7 kB / 0.5864 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.4284, allocations: 79.88 kB / 0.5865 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.4284, allocations: 1.531 kB / 0.5865 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.4285, allocations: 0.9375 kB / 0.5865 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.4285, allocations: 9.469 kB / 0.5865 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4285, allocations: 6.938 kB / 0.5865 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.724e-05/0.4285, allocations: 84.09 kB / 0.5866 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4285, allocations: 1.156 kB / 0.5866 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.4287, allocations: 29.53 kB / 0.5866 GB, free: 0.793 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.000389/0.4291, allocations: 0.6753 MB / 0.5873 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.4293, allocations: 40.22 kB / 0.5873 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4293, allocations: 4 kB / 0.5873 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.4293, allocations: 21.55 kB / 0.5873 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.4295, allocations: 6.484 kB / 0.5873 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.4301, allocations: 412.4 kB / 0.5877 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.4303, allocations: 0.6884 MB / 0.5884 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.901e-05/0.4303, allocations: 5.125 kB / 0.5884 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.4304, allocations: 17.12 kB / 0.5884 GB, free: 15.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4304, allocations: 0 / 0.5884 GB, free: 15.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.443, allocations: 1.574 MB / 0.59 GB, free: 14.92 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.4432, allocations: 203.2 kB / 0.5901 GB, free: 14.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.04, allocations: 4 kB / 0.5901 GB, free: 14.68 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: