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.008241/0.008241, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001387/0.001387, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7972/0.7972, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 69.12 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1765, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001801/0.1784, allocations: 0.5993 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.1788, allocations: 163.8 kB / 0.66 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.1789, allocations: 0 / 0.66 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.1789, allocations: 0 / 0.66 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.698e-05/0.1789, allocations: 0 / 0.66 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1793, allocations: 39.84 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.015e-05/0.1794, allocations: 11.98 kB / 0.66 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.1794, allocations: 11.98 kB / 0.66 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.1795, allocations: 4 kB / 0.66 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.1796, allocations: 7.938 kB / 0.66 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1796, allocations: 4 kB / 0.6601 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.1797, allocations: 35.95 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1797, allocations: 11.92 kB / 0.6601 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.1797, allocations: 3.938 kB / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1799, allocations: 35.94 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1799, allocations: 0 / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1799, allocations: 3.938 kB / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1799, allocations: 0 / 0.6601 GB, free: 13.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004349/0.1803, allocations: 327.6 kB / 0.6605 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1804, allocations: 16.03 kB / 0.6605 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.1804, allocations: 30.75 kB / 0.6605 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1805, allocations: 0.9375 kB / 0.6605 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1806, allocations: 171.1 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1806, allocations: 4.375 kB / 0.6607 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1807, allocations: 4.375 kB / 0.6607 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1808, allocations: 46.23 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1808, allocations: 7.938 kB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1809, allocations: 0 / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1809, allocations: 0 / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.1809, allocations: 16 kB / 0.6607 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.1811, allocations: 157.6 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1813, allocations: 50.56 kB / 0.6609 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.1813, allocations: 20.97 kB / 0.661 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.1814, allocations: 81.09 kB / 0.661 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1815, allocations: 34.56 kB / 0.6611 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1815, allocations: 4 kB / 0.6611 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001463/0.1829, allocations: 485.1 kB / 0.6615 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.183, allocations: 51.41 kB / 0.6616 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.1831, allocations: 97.8 kB / 0.6617 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1831, allocations: 25.7 kB / 0.6617 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.1832, allocations: 82.42 kB / 0.6618 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1832, allocations: 27.92 kB / 0.6618 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1832, allocations: 25.84 kB / 0.6618 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1834, allocations: 310.8 kB / 0.6621 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.1834, allocations: 15.98 kB / 0.6621 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.1834, allocations: 15.94 kB / 0.6622 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.1835, allocations: 45.06 kB / 0.6622 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.1835, allocations: 0 / 0.6622 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001162/0.1836, allocations: 65.62 kB / 0.6623 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1836, allocations: 11.94 kB / 0.6623 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1837, allocations: 0 / 0.6623 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1837, allocations: 4 kB / 0.6623 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.1838, allocations: 19.92 kB / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1838, allocations: 0 / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.1838, allocations: 4 kB / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1838, allocations: 4 kB / 0.6623 GB, free: 10.52 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 (8): * Single equations (assignments): 8 * 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.617e-05/0.1839, allocations: 106.5 kB / 0.6624 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.1839, allocations: 15.84 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.1841, allocations: 85.56 kB / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1841, allocations: 0 / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1841, allocations: 4 kB / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1841, allocations: 0 / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1843, allocations: 165.7 kB / 0.6627 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1843, allocations: 0 / 0.6627 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.402e-05/0.1844, allocations: 15.94 kB / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1844, allocations: 0 / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1844, allocations: 0 / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1844, allocations: 0 / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1844, allocations: 3.984 kB / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.1846, allocations: 121 kB / 0.6628 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.1847, allocations: 88.94 kB / 0.6629 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1847, allocations: 0 / 0.6629 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.507e-05/0.1847, allocations: 4.031 kB / 0.6629 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.1847, allocations: 4 kB / 0.6629 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1848, allocations: 7.984 kB / 0.6629 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.807e-05/0.1848, allocations: 75.34 kB / 0.663 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1848, allocations: 4.094 kB / 0.663 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002189/0.185, allocations: 28 kB / 0.663 GB, free: 9.695 MB / 0.4981 GB 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 (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.0005754/0.1856, allocations: 0.6827 MB / 0.6637 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1857, allocations: 36.3 kB / 0.6637 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1857, allocations: 64 / 0.6637 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.1858, allocations: 35.86 kB / 0.6637 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1859, allocations: 0 / 0.6637 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1871, allocations: 1.204 MB / 0.6649 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1873, allocations: 0.6807 MB / 0.6656 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.1874, allocations: 4 kB / 0.6656 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.1874, allocations: 19.42 kB / 0.6656 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.1874, allocations: 0 / 0.6656 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.2075, allocations: 1.797 MB / 0.6674 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.324, allocations: 21.44 kB / 0.6674 GB, free: 5.238 MB / 0.4981 GB (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/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)