Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001071/0.001071, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001106/0.001106, allocations: 189.2 kB / 16.25 MB, free: 6.145 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.232/1.232, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7048/0.7048, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 68.55 kB / 0.5014 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 80.2 MB / 0.5797 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001787/0.134, allocations: 0.8464 MB / 0.5805 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1356, allocations: 1.468 MB / 0.5819 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.1356, allocations: 3.938 kB / 0.582 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.1356, allocations: 0 / 0.582 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.036e-05/0.1357, allocations: 3.938 kB / 0.582 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.1361, allocations: 126.4 kB / 0.5821 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.1362, allocations: 47.72 kB / 0.5821 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.1362, allocations: 7.984 kB / 0.5821 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.1363, allocations: 23.92 kB / 0.5822 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.1364, allocations: 31.84 kB / 0.5822 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1364, allocations: 8 kB / 0.5822 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.1368, allocations: 319.3 kB / 0.5825 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1368, allocations: 15.98 kB / 0.5825 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1369, allocations: 31.84 kB / 0.5825 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.1371, allocations: 203.8 kB / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1371, allocations: 0 / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1371, allocations: 0 / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1372, allocations: 0 / 0.5827 GB, free: 5.879 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.0005818/0.1377, allocations: 415.2 kB / 0.5831 GB, free: 5.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1378, allocations: 8.031 kB / 0.5831 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.1378, allocations: 38.75 kB / 0.5832 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.1383, allocations: 72.84 kB / 0.5832 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.1384, allocations: 168.2 kB / 0.5834 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1384, allocations: 8.375 kB / 0.5834 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1384, allocations: 4.375 kB / 0.5834 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.1388, allocations: 113.7 kB / 0.5835 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1388, allocations: 4 kB / 0.5835 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1388, allocations: 4 kB / 0.5835 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1389, allocations: 3.938 kB / 0.5835 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.1393, allocations: 99.91 kB / 0.5836 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.1399, allocations: 332.6 kB / 0.584 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.1405, allocations: 166.3 kB / 0.5841 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.1407, allocations: 52.81 kB / 0.5842 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1408, allocations: 0 / 0.5842 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1408, allocations: 38.56 kB / 0.5842 GB, free: 4.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.1408, allocations: 0 / 0.5842 GB, free: 4.211 MB / 494.1 MB 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.0192/0.16, allocations: 2.828 MB / 0.587 GB, free: 1.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.16, allocations: 55.34 kB / 0.587 GB, free: 1.223 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.1601, allocations: 101.8 kB / 0.5871 GB, free: 1.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.1602, allocations: 33.7 kB / 0.5871 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.1602, allocations: 95.92 kB / 0.5872 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.1603, allocations: 35.45 kB / 0.5873 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1605, allocations: 69.58 kB / 0.5873 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.1606, allocations: 318.8 kB / 0.5876 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.1612, allocations: 187.8 kB / 0.5878 GB, free: 372 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.1619, allocations: 195.8 kB / 0.588 GB, free: 176 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.1632, allocations: 390.8 kB / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1632, allocations: 3.938 kB / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001532/0.1648, allocations: 481.1 kB / 0.5888 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1648, allocations: 8 kB / 0.5888 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1648, allocations: 0 / 0.5888 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1648, allocations: 0 / 0.5888 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/0.1657, allocations: 111.7 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1658, allocations: 4.469 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.1664, allocations: 43.94 kB / 0.589 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.1665, allocations: 31.92 kB / 0.589 GB, free: 15.11 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.0001569/0.1667, allocations: 114.5 kB / 0.5891 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.1667, allocations: 0 / 0.5891 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.1668, allocations: 19.97 kB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1668, allocations: 3.938 kB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1668, allocations: 0 / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1668, allocations: 3.984 kB / 0.5892 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.169, allocations: 1.058 MB / 0.5902 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.169, allocations: 0 / 0.5902 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008871/0.1699, allocations: 107.7 kB / 0.5903 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1699, allocations: 0 / 0.5903 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.17, allocations: 23.92 kB / 0.5903 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.17, allocations: 4 kB / 0.5903 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.17, allocations: 96 / 0.5903 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.1723, allocations: 0.7878 MB / 0.5911 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1725, allocations: 124.9 kB / 0.5912 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.1725, allocations: 3.938 kB / 0.5912 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007525/0.1733, allocations: 52 kB / 0.5913 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1734, allocations: 27.92 kB / 0.5913 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.1735, allocations: 19.94 kB / 0.5913 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.1735, allocations: 83.28 kB / 0.5914 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1735, allocations: 0 / 0.5914 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003675/0.1739, allocations: 55.98 kB / 0.5914 GB, free: 12.48 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.002664/0.1766, allocations: 1.341 MB / 0.5928 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.178, allocations: 432.5 kB / 0.5932 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.178, allocations: 0 / 0.5932 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007337/0.1788, allocations: 219.7 kB / 0.5934 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1792, allocations: 23.06 kB / 0.5934 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008701/0.1879, allocations: 2.958 MB / 0.5963 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1881, allocations: 0.6889 MB / 0.597 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007075/0.1888, allocations: 88.67 kB / 0.597 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.1891, allocations: 67.3 kB / 0.5971 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.1891, allocations: 0 / 0.5971 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2665/0.4556, allocations: 4.454 MB / 0.6015 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.4559, allocations: 204.9 kB / 0.6017 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.462, allocations: 0.9844 kB / 0.6017 GB, free: 2.016 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)