Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.001011/0.001011, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009925/0.0009927, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 71.86 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.171, allocations: 80.92 MB / 0.584 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001941/0.1729, allocations: 0.6505 MB / 0.5846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1748, allocations: 1.448 MB / 0.5861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.1749, allocations: 0 / 0.5861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.067e-05/0.1749, allocations: 0 / 0.5861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.357e-05/0.1749, allocations: 0 / 0.5861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.1754, allocations: 123.7 kB / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.403e-05/0.1755, allocations: 27.97 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.1755, allocations: 3.984 kB / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1756, allocations: 15.88 kB / 0.5862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.1757, allocations: 31.95 kB / 0.5862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1757, allocations: 0 / 0.5862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.1762, allocations: 319.4 kB / 0.5866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.1762, allocations: 7.984 kB / 0.5866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1762, allocations: 11.92 kB / 0.5866 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1765, allocations: 187.6 kB / 0.5868 GB, free: 1.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1765, allocations: 0 / 0.5868 GB, free: 1.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1765, allocations: 0 / 0.5868 GB, free: 1.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1765, allocations: 0 / 0.5868 GB, free: 1.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004873/0.177, allocations: 371.7 kB / 0.5871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1771, allocations: 12.03 kB / 0.5871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.1771, allocations: 34.75 kB / 0.5872 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.1776, allocations: 68.84 kB / 0.5872 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1777, allocations: 160.4 kB / 0.5874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1777, allocations: 384 / 0.5874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1777, allocations: 8.359 kB / 0.5874 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1779, allocations: 81.69 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-06/0.178, allocations: 4 kB / 0.5875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.178, allocations: 4 kB / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.178, allocations: 0 / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.1783, allocations: 59.94 kB / 0.5875 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1785, allocations: 165.7 kB / 0.5877 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.179, allocations: 118.6 kB / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1792, allocations: 40.92 kB / 0.5878 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/0.1797, allocations: 164.9 kB / 0.588 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1798, allocations: 34.5 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.1798, allocations: 3.938 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001063/0.1808, allocations: 414.5 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1809, allocations: 51.41 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.346e-05/0.1809, allocations: 93.86 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.181, allocations: 29.7 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.181, allocations: 80.14 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.181, allocations: 27.62 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.1811, allocations: 17.72 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1812, allocations: 327 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1814, allocations: 31.97 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1815, allocations: 27.97 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1818, allocations: 80.8 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1818, allocations: 0 / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003326/0.1821, allocations: 121.5 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1821, allocations: 4 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1822, allocations: 4 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1822, allocations: 4 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1823, allocations: 19.98 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1823, allocations: 0 / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.1824, allocations: 15.97 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1824, allocations: 0 / 0.5893 GB, free: 15 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 (6): * Single equations (assignments): 6 * 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 0.0001453/0.1826, allocations: 121.8 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.1826, allocations: 3.938 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.183, allocations: 133.1 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1831, allocations: 0 / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1831, allocations: 4 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1831, allocations: 4 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1832, allocations: 162 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1832, allocations: 3.938 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1834, allocations: 27.98 kB / 0.5898 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1834, allocations: 3.938 kB / 0.5898 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1834, allocations: 7.984 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1834, allocations: 0 / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1834, allocations: 0 / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.184, allocations: 192.8 kB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.1841, allocations: 85.03 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1841, allocations: 8.031 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1842, allocations: 11.98 kB / 0.59 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.1842, allocations: 3.984 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1842, allocations: 12 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.1843, allocations: 75.28 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1843, allocations: 0 / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002257/0.1845, allocations: 39.98 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0008798/0.1854, allocations: 0.7413 MB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.1857, allocations: 83.98 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1858, allocations: 0 / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1859, allocations: 47.89 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1861, allocations: 8 kB / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1882, allocations: 1.363 MB / 0.5924 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1885, allocations: 0.6768 MB / 0.593 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000113/0.1886, allocations: 16 kB / 0.593 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.1887, allocations: 19.42 kB / 0.5931 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1887, allocations: 0 / 0.5931 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.2009, allocations: 1.943 MB / 0.595 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.2011, allocations: 213 kB / 0.5952 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.899, allocations: 0 / 0.5952 GB, free: 8.887 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)