Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.001159/0.001159, 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.001593/0.001593, allocations: 191.7 kB / 16.25 MB, free: 6.629 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 69.28 kB / 0.505 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1609, allocations: 80.92 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0025/0.1634, allocations: 0.8388 MB / 0.5848 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1655, allocations: 1.471 MB / 0.5863 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.1656, allocations: 4 kB / 0.5863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.1657, allocations: 3.938 kB / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.1657, allocations: 3.938 kB / 0.5863 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.1664, allocations: 119.7 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.36e-05/0.1665, allocations: 47.97 kB / 0.5864 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.1665, allocations: 4 kB / 0.5864 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.144e-05/0.1666, allocations: 27.91 kB / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.1667, allocations: 31.84 kB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1667, allocations: 8 kB / 0.5865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.1672, allocations: 319.3 kB / 0.5868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.1672, allocations: 11.98 kB / 0.5868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.1673, allocations: 31.84 kB / 0.5868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1676, allocations: 203.8 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1676, allocations: 0 / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.1677, allocations: 4 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1677, allocations: 3.938 kB / 0.587 GB, free: 1.633 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006941/0.1684, allocations: 407.4 kB / 0.5874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1685, allocations: 8.031 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/0.1686, allocations: 34.75 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004528/0.169, allocations: 76.75 kB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1691, allocations: 164.3 kB / 0.5877 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.1692, allocations: 8.375 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1692, allocations: 8.281 kB / 0.5877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.1696, allocations: 117.7 kB / 0.5878 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1696, allocations: 0 / 0.5878 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1696, allocations: 7.938 kB / 0.5878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1696, allocations: 0 / 0.5878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.1701, allocations: 99.91 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.1707, allocations: 336.6 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.1713, allocations: 154.4 kB / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1715, allocations: 60.81 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1716, allocations: 3.938 kB / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.1716, allocations: 34.56 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1716, allocations: 0 / 0.5885 GB, free: 15.97 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01854/0.1902, allocations: 2.833 MB / 0.5913 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.1903, allocations: 55.34 kB / 0.5913 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.1903, allocations: 101.8 kB / 0.5914 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.1904, allocations: 33.64 kB / 0.5914 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.1905, allocations: 91.98 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.1905, allocations: 35.45 kB / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1907, allocations: 73.58 kB / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1909, allocations: 318.8 kB / 0.5919 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006227/0.1915, allocations: 187.8 kB / 0.5921 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.1922, allocations: 190.5 kB / 0.5923 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.1934, allocations: 400.7 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1934, allocations: 0 / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001457/0.1949, allocations: 477 kB / 0.5931 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1949, allocations: 8 kB / 0.5932 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.195, allocations: 4 kB / 0.5932 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.195, allocations: 0 / 0.5932 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.1958, allocations: 107.7 kB / 0.5933 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1958, allocations: 4 kB / 0.5933 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/0.1964, allocations: 43.94 kB / 0.5933 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.1965, allocations: 31.92 kB / 0.5933 GB, free: 10.88 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 (13): * Single equations (assignments): 13 * 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.0001599/0.1967, allocations: 113.8 kB / 0.5934 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.1968, allocations: 4 kB / 0.5934 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.1968, allocations: 15.97 kB / 0.5935 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1968, allocations: 3.938 kB / 0.5935 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.1969, allocations: 4 kB / 0.5935 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1969, allocations: 3.984 kB / 0.5935 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.199, allocations: 1.062 MB / 0.5945 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1991, allocations: 0 / 0.5945 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/0.1999, allocations: 103.7 kB / 0.5946 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1999, allocations: 0 / 0.5946 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.2, allocations: 27.92 kB / 0.5946 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2, allocations: 4 kB / 0.5946 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2, allocations: 0 / 0.5946 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.2022, allocations: 0.784 MB / 0.5954 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.2024, allocations: 125 kB / 0.5955 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.2025, allocations: 3.938 kB / 0.5955 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/0.2032, allocations: 51.94 kB / 0.5956 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.2033, allocations: 31.92 kB / 0.5956 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.2034, allocations: 19.94 kB / 0.5956 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.2034, allocations: 83.28 kB / 0.5957 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2034, allocations: 0 / 0.5957 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003727/0.2038, allocations: 55.98 kB / 0.5958 GB, free: 8.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.002638/0.2065, allocations: 1.344 MB / 0.5971 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.2079, allocations: 431.5 kB / 0.5975 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2079, allocations: 0 / 0.5975 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007067/0.2086, allocations: 219.7 kB / 0.5977 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.209, allocations: 15.92 kB / 0.5977 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/0.2175, allocations: 2.959 MB / 0.6006 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2177, allocations: 0.6924 MB / 0.6013 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007115/0.2185, allocations: 84.67 kB / 0.6014 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.2187, allocations: 63.3 kB / 0.6014 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2188, allocations: 0 / 0.6014 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2364/0.4551, allocations: 4.45 MB / 0.6058 GB, free: 52.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.4553, allocations: 217.5 kB / 0.606 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.27, allocations: 0 / 0.606 GB, free: 52.47 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)