Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_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.00141/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001171/0.001171, allocations: 192.7 kB / 16.14 MB, free: 6.703 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9515/0.9515, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.72 kB / 0.5048 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1396, allocations: 80.92 MB / 0.5838 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001611/0.1412, allocations: 0.6583 MB / 0.5845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000379/0.1416, allocations: 159.5 kB / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.264e-05/0.1417, allocations: 0 / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.1417, allocations: 0 / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.742e-05/0.1417, allocations: 0 / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1419, allocations: 39.83 kB / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.497e-05/0.142, allocations: 12 kB / 0.5847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.142, allocations: 4 kB / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.142, allocations: 7.984 kB / 0.5847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.1421, allocations: 11.92 kB / 0.5847 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1421, allocations: 4 kB / 0.5847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.1422, allocations: 31.97 kB / 0.5847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1422, allocations: 3.984 kB / 0.5847 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.1422, allocations: 11.94 kB / 0.5847 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.98e-05/0.1423, allocations: 27.95 kB / 0.5848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1423, allocations: 0 / 0.5848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1423, allocations: 7.938 kB / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1423, allocations: 0 / 0.5848 GB, free: 3.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003162/0.1427, allocations: 331.6 kB / 0.5851 GB, free: 3.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1427, allocations: 8.031 kB / 0.5851 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.1427, allocations: 30.75 kB / 0.5851 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1428, allocations: 8.844 kB / 0.5851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.525e-05/0.1429, allocations: 160.7 kB / 0.5853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1429, allocations: 8.312 kB / 0.5853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1429, allocations: 4.375 kB / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.143, allocations: 46.25 kB / 0.5853 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.143, allocations: 3.938 kB / 0.5853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.143, allocations: 3.938 kB / 0.5853 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.143, allocations: 0 / 0.5853 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.1431, allocations: 15.98 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1432, allocations: 157.6 kB / 0.5855 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.1433, allocations: 54.55 kB / 0.5856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.1434, allocations: 24.97 kB / 0.5856 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.349e-05/0.1434, allocations: 77.11 kB / 0.5857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1435, allocations: 38.56 kB / 0.5857 GB, free: 2.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1435, allocations: 0 / 0.5857 GB, free: 2.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001188/0.1447, allocations: 484.3 kB / 0.5862 GB, free: 2.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1447, allocations: 51.41 kB / 0.5862 GB, free: 2.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.005e-05/0.1448, allocations: 97.86 kB / 0.5863 GB, free: 2.098 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1448, allocations: 25.7 kB / 0.5863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.1448, allocations: 84.14 kB / 0.5864 GB, free: 1.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1449, allocations: 23.56 kB / 0.5864 GB, free: 1.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1449, allocations: 29.64 kB / 0.5865 GB, free: 1.922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.145, allocations: 310.8 kB / 0.5868 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.145, allocations: 15.98 kB / 0.5868 GB, free: 1.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.1451, allocations: 16.06 kB / 0.5868 GB, free: 1.578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.504e-05/0.1451, allocations: 44.95 kB / 0.5868 GB, free: 1.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1451, allocations: 0 / 0.5868 GB, free: 1.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001027/0.1452, allocations: 65.62 kB / 0.5869 GB, free: 1.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1453, allocations: 8 kB / 0.5869 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1453, allocations: 3.938 kB / 0.5869 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1453, allocations: 0 / 0.5869 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.062e-05/0.1454, allocations: 15.94 kB / 0.5869 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1454, allocations: 0 / 0.5869 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.1454, allocations: 4 kB / 0.5869 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1454, allocations: 7.984 kB / 0.5869 GB, free: 1.422 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.1455, allocations: 113.8 kB / 0.587 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.1455, allocations: 7.938 kB / 0.587 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.1457, allocations: 73.64 kB / 0.5871 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1457, allocations: 7.938 kB / 0.5871 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1457, allocations: 0 / 0.5871 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1457, allocations: 3.938 kB / 0.5871 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1458, allocations: 169.6 kB / 0.5873 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1458, allocations: 0 / 0.5873 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.1459, allocations: 19.94 kB / 0.5873 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1459, allocations: 0 / 0.5873 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1459, allocations: 192 / 0.5873 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1459, allocations: 4 kB / 0.5873 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1459, allocations: 0 / 0.5873 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.1461, allocations: 122.6 kB / 0.5874 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.1461, allocations: 81.05 kB / 0.5875 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1462, allocations: 3.984 kB / 0.5875 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.1462, allocations: 8.094 kB / 0.5875 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1462, allocations: 4 kB / 0.5875 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1462, allocations: 4 kB / 0.5875 GB, free: 0.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.504e-05/0.1463, allocations: 75.28 kB / 0.5876 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1463, allocations: 0 / 0.5876 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.1465, allocations: 31.98 kB / 0.5876 GB, free: 0.6016 MB / 494.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 (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.0004659/0.147, allocations: 0.6909 MB / 0.5883 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.698e-05/0.1471, allocations: 43.95 kB / 0.5883 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1471, allocations: 0 / 0.5883 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.1471, allocations: 23.94 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1473, allocations: 7.984 kB / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/0.1482, allocations: 1.19 MB / 0.5895 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.1484, allocations: 0.681 MB / 0.5902 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.1484, allocations: 11.98 kB / 0.5902 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.1485, allocations: 11.44 kB / 0.5902 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1485, allocations: 0 / 0.5902 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01033/0.1588, allocations: 1.657 MB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.159, allocations: 222.2 kB / 0.5921 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.826, allocations: 7.188 kB / 0.5921 GB, free: 12.06 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)