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.001467/0.001473, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9529/0.9529, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 72.81 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 80.91 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001874/0.1595, allocations: 0.7701 MB / 0.5852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1612, allocations: 1.479 MB / 0.5867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.1613, allocations: 8 kB / 0.5867 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.1613, allocations: 7.922 kB / 0.5867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.746e-05/0.1614, allocations: 0 / 0.5867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.1618, allocations: 135.5 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.1619, allocations: 55.88 kB / 0.5869 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.162, allocations: 4 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.162, allocations: 23.92 kB / 0.5869 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.1621, allocations: 35.83 kB / 0.5869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1621, allocations: 4 kB / 0.5869 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.1625, allocations: 315.4 kB / 0.5872 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.1626, allocations: 15.97 kB / 0.5873 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.1626, allocations: 23.86 kB / 0.5873 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.1629, allocations: 207.8 kB / 0.5875 GB, free: 1.363 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1629, allocations: 8 kB / 0.5875 GB, free: 1.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1629, allocations: 0 / 0.5875 GB, free: 1.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1629, allocations: 0 / 0.5875 GB, free: 1.355 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.0006027/0.1635, allocations: 395.4 kB / 0.5879 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1636, allocations: 12.03 kB / 0.5879 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.1636, allocations: 38.73 kB / 0.5879 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.1641, allocations: 68.77 kB / 0.588 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1642, allocations: 176.2 kB / 0.5881 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.1642, allocations: 8.375 kB / 0.5882 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1643, allocations: 12.28 kB / 0.5882 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.1646, allocations: 108.7 kB / 0.5883 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1646, allocations: 0 / 0.5883 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1647, allocations: 4 kB / 0.5883 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1647, allocations: 8 kB / 0.5883 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.1652, allocations: 107.9 kB / 0.5884 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.1657, allocations: 344.5 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.1664, allocations: 146.5 kB / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.1667, allocations: 64.75 kB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1667, allocations: 3.984 kB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1667, allocations: 30.56 kB / 0.589 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.1667, allocations: 3.938 kB / 0.589 GB, free: 15.69 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.01812/0.1849, allocations: 2.833 MB / 0.5917 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.1849, allocations: 55.34 kB / 0.5918 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.185, allocations: 97.86 kB / 0.5919 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.185, allocations: 25.7 kB / 0.5919 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.1851, allocations: 99.97 kB / 0.592 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.1852, allocations: 39.44 kB / 0.592 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.1853, allocations: 73.58 kB / 0.5921 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.1854, allocations: 314.8 kB / 0.5924 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.1861, allocations: 191.8 kB / 0.5926 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.1868, allocations: 187.8 kB / 0.5928 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.1881, allocations: 404.4 kB / 0.5931 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1881, allocations: 0 / 0.5931 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001542/0.1897, allocations: 477 kB / 0.5936 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1897, allocations: 12 kB / 0.5936 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1897, allocations: 1.016 kB / 0.5936 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1897, allocations: 0 / 0.5936 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/0.1906, allocations: 107.7 kB / 0.5937 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1906, allocations: 4 kB / 0.5937 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.1912, allocations: 43.94 kB / 0.5938 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.1913, allocations: 27.94 kB / 0.5938 GB, free: 10.59 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.0001329/0.1915, allocations: 117.8 kB / 0.5939 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.1915, allocations: 4 kB / 0.5939 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.1916, allocations: 7.969 kB / 0.5939 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1916, allocations: 7.938 kB / 0.5939 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1916, allocations: 0 / 0.5939 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1916, allocations: 0 / 0.5939 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.1938, allocations: 1.062 MB / 0.595 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1938, allocations: 4 kB / 0.595 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008414/0.1947, allocations: 107.7 kB / 0.5951 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1947, allocations: 0 / 0.5951 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.1947, allocations: 23.94 kB / 0.5951 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1947, allocations: 0 / 0.5951 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1948, allocations: 4 kB / 0.5951 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.1971, allocations: 0.7879 MB / 0.5959 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.1973, allocations: 124.8 kB / 0.596 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.1974, allocations: 0 / 0.596 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.1981, allocations: 59.98 kB / 0.596 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.1982, allocations: 19.94 kB / 0.5961 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.1982, allocations: 27.92 kB / 0.5961 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.1983, allocations: 83.45 kB / 0.5962 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1983, allocations: 96 / 0.5962 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003785/0.1987, allocations: 55.94 kB / 0.5962 GB, free: 7.949 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.002651/0.2013, allocations: 1.344 MB / 0.5975 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.2029, allocations: 431.5 kB / 0.5979 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2029, allocations: 3.938 kB / 0.5979 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.2037, allocations: 219.7 kB / 0.5981 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.204, allocations: 10.23 kB / 0.5982 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008662/0.2127, allocations: 2.93 MB / 0.601 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2129, allocations: 0.6885 MB / 0.6017 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006309/0.2136, allocations: 96.64 kB / 0.6018 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.2138, allocations: 63.3 kB / 0.6018 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.2138, allocations: 0 / 0.6018 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2476/0.4615, allocations: 4.524 MB / 0.6063 GB, free: 52.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.61, allocations: 5.094 kB / 0.6063 GB, free: 52.75 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)