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.007546/0.007546, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001918/0.001918, allocations: 200.5 kB / 16.68 MB, free: 5.926 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7981/0.7981, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 65.91 kB / 0.5809 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1652, allocations: 80.21 MB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001897/0.1671, allocations: 0.5953 MB / 0.6598 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004445/0.1676, allocations: 166.3 kB / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.1676, allocations: 0 / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.1677, allocations: 0 / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.294e-05/0.1677, allocations: 0 / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1681, allocations: 42.52 kB / 0.66 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.1681, allocations: 15.94 kB / 0.66 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.1682, allocations: 7.984 kB / 0.66 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.1682, allocations: 4 kB / 0.66 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.1683, allocations: 15.92 kB / 0.6601 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1683, allocations: 4 kB / 0.6601 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1684, allocations: 35.95 kB / 0.6601 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.1685, allocations: 0 / 0.6601 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.1685, allocations: 7.938 kB / 0.6601 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1686, allocations: 31.94 kB / 0.6601 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1686, allocations: 0 / 0.6601 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.365e-06/0.1686, allocations: 3.938 kB / 0.6601 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1687, allocations: 0 / 0.6601 GB, free: 9.777 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.0004247/0.1691, allocations: 331.6 kB / 0.6605 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1691, allocations: 12.03 kB / 0.6605 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1692, allocations: 34.75 kB / 0.6605 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1692, allocations: 0.9375 kB / 0.6605 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1694, allocations: 163.2 kB / 0.6607 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1694, allocations: 4.375 kB / 0.6607 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1694, allocations: 8.281 kB / 0.6607 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1695, allocations: 50.17 kB / 0.6607 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1696, allocations: 3.938 kB / 0.6607 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1696, allocations: 0 / 0.6607 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1696, allocations: 0 / 0.6607 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.1696, allocations: 20 kB / 0.6607 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1698, allocations: 157.7 kB / 0.6609 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.76e-05/0.1699, allocations: 42.62 kB / 0.6609 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.17, allocations: 28.89 kB / 0.661 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.1701, allocations: 81.11 kB / 0.661 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1701, allocations: 34.5 kB / 0.6611 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1701, allocations: 4 kB / 0.6611 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001281/0.1714, allocations: 488.6 kB / 0.6615 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1715, allocations: 51.41 kB / 0.6616 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.1715, allocations: 93.86 kB / 0.6617 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1716, allocations: 29.7 kB / 0.6617 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.1716, allocations: 80.14 kB / 0.6618 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.1716, allocations: 28.05 kB / 0.6618 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.1717, allocations: 21.72 kB / 0.6618 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1718, allocations: 314.8 kB / 0.6621 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.1718, allocations: 12 kB / 0.6621 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.1719, allocations: 12 kB / 0.6621 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.816e-05/0.172, allocations: 36.78 kB / 0.6622 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.172, allocations: 4.438 kB / 0.6622 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001265/0.1721, allocations: 77.52 kB / 0.6623 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1721, allocations: 7.938 kB / 0.6623 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1721, allocations: 4 kB / 0.6623 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1721, allocations: 4 kB / 0.6623 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.1722, allocations: 15.98 kB / 0.6623 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1723, allocations: 0 / 0.6623 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.1723, allocations: 8 kB / 0.6623 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1723, allocations: 0 / 0.6623 GB, free: 7.242 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 8.373e-05/0.1724, allocations: 114.7 kB / 0.6624 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.1724, allocations: 3.938 kB / 0.6624 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.1726, allocations: 85.64 kB / 0.6625 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1726, allocations: 0 / 0.6625 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1727, allocations: 0 / 0.6625 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1727, allocations: 0 / 0.6625 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.1728, allocations: 169.6 kB / 0.6627 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1728, allocations: 0 / 0.6627 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/0.1729, allocations: 19.88 kB / 0.6627 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1729, allocations: 0 / 0.6627 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1729, allocations: 7.938 kB / 0.6627 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.173, allocations: 3.984 kB / 0.6627 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.173, allocations: 400 / 0.6627 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1732, allocations: 117.1 kB / 0.6628 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1732, allocations: 84.95 kB / 0.6629 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1732, allocations: 4.031 kB / 0.6629 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.1733, allocations: 0 / 0.6629 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.1733, allocations: 4 kB / 0.6629 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1733, allocations: 7.984 kB / 0.6629 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.1734, allocations: 87.28 kB / 0.663 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.1734, allocations: 0 / 0.663 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002275/0.1736, allocations: 28 kB / 0.663 GB, free: 6.406 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.000598/0.1742, allocations: 0.6749 MB / 0.6637 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.1744, allocations: 39.92 kB / 0.6637 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.1744, allocations: 4.156 kB / 0.6637 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.1744, allocations: 19.98 kB / 0.6637 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.1746, allocations: 9.891 kB / 0.6637 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1758, allocations: 1.199 MB / 0.6649 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1761, allocations: 0.682 MB / 0.6656 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.1762, allocations: 4 kB / 0.6656 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.1762, allocations: 19.42 kB / 0.6656 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1762, allocations: 4.094 kB / 0.6656 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.1969, allocations: 1.806 MB / 0.6674 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.61, allocations: 14.34 kB / 0.6674 GB, free: 1.945 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)