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.0009826/0.0009826, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001256/0.001256, allocations: 168.7 kB / 15.95 MB, free: 204 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.334/1.334, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9267/0.9267, allocations: 135.3 MB / 426.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 12 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 82.31 MB / 0.5875 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006455/0.1513, allocations: 319.1 kB / 0.5878 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000346/0.1517, allocations: 159.6 kB / 0.5879 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.1517, allocations: 0 / 0.5879 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.1518, allocations: 0 / 0.5879 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.709e-05/0.1518, allocations: 0 / 0.5879 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.152, allocations: 27.92 kB / 0.588 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.1521, allocations: 11.98 kB / 0.588 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.1521, allocations: 7.984 kB / 0.588 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.1522, allocations: 0 / 0.588 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.1522, allocations: 15.92 kB / 0.588 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1522, allocations: 0 / 0.588 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.1523, allocations: 27.97 kB / 0.588 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1523, allocations: 11.98 kB / 0.588 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.1524, allocations: 29.7 kB / 0.5881 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.345e-05/0.1524, allocations: 11.97 kB / 0.5881 GB, free: 2.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1525, allocations: 0 / 0.5881 GB, free: 2.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1525, allocations: 0 / 0.5881 GB, free: 2.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1525, allocations: 4 kB / 0.5881 GB, free: 2.242 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.0003264/0.1528, allocations: 327.3 kB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1529, allocations: 12.03 kB / 0.5884 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1529, allocations: 30.56 kB / 0.5884 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.1529, allocations: 7.938 kB / 0.5884 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.484e-05/0.153, allocations: 167.3 kB / 0.5886 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.153, allocations: 7.938 kB / 0.5886 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1531, allocations: 4 kB / 0.5886 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1532, allocations: 41.69 kB / 0.5887 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1532, allocations: 0 / 0.5887 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.1532, allocations: 4 kB / 0.5887 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1532, allocations: 0 / 0.5887 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.1533, allocations: 15.98 kB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.1534, allocations: 165.6 kB / 0.5888 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.894e-05/0.1535, allocations: 46.56 kB / 0.5889 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.1536, allocations: 24.91 kB / 0.5889 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.423e-05/0.1537, allocations: 81.11 kB / 0.589 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1537, allocations: 34.56 kB / 0.589 GB, free: 1.102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1537, allocations: 4 kB / 0.589 GB, free: 1.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001131/0.1548, allocations: 480.6 kB / 0.5895 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.1549, allocations: 51.41 kB / 0.5895 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.1549, allocations: 93.86 kB / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.155, allocations: 25.7 kB / 0.5896 GB, free: 368 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.155, allocations: 84.14 kB / 0.5897 GB, free: 280 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.155, allocations: 23.56 kB / 0.5897 GB, free: 256 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.155, allocations: 3.938 kB / 0.5897 GB, free: 252 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1551, allocations: 330.9 kB / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.1552, allocations: 4 kB / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.1552, allocations: 15.98 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.1552, allocations: 16 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1553, allocations: 0 / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001018/0.1554, allocations: 69.67 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1554, allocations: 4 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1554, allocations: 320 / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.1554, allocations: 0 / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.1555, allocations: 19.98 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1555, allocations: 7.938 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.1555, allocations: 4 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.1556, allocations: 11.92 kB / 0.5902 GB, free: 15.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.1556, allocations: 109.8 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1556, allocations: 4 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.1558, allocations: 77.64 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1558, allocations: 7.984 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1558, allocations: 4 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1558, allocations: 3.984 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1559, allocations: 165.6 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.156, allocations: 0 / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.156, allocations: 15.94 kB / 0.5906 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.156, allocations: 0 / 0.5906 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1561, allocations: 7.922 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1561, allocations: 0 / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1561, allocations: 0 / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1563, allocations: 129 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.1563, allocations: 77.11 kB / 0.5908 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1563, allocations: 0 / 0.5908 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.1564, allocations: 4 kB / 0.5908 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1564, allocations: 7.922 kB / 0.5908 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.1564, allocations: 8 kB / 0.5908 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.1564, allocations: 75.28 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1564, allocations: 0 / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002196/0.1567, allocations: 28.16 kB / 0.5909 GB, free: 14.94 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 (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.0005026/0.1572, allocations: 0.6866 MB / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.1573, allocations: 35.92 kB / 0.5916 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1573, allocations: 0 / 0.5916 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/0.1573, allocations: 19.98 kB / 0.5916 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.1575, allocations: 15.12 kB / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.158, allocations: 416.4 kB / 0.592 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1582, allocations: 0.6809 MB / 0.5927 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.1583, allocations: 12.23 kB / 0.5927 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.1583, allocations: 15.44 kB / 0.5927 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1583, allocations: 0 / 0.5927 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.1692, allocations: 1.593 MB / 0.5943 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.1694, allocations: 206.3 kB / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/1.766, allocations: 0 / 0.5945 GB, free: 11.34 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/linux/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) Environment - environmentSimulation: