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.001389/0.001389, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001617/0.001617, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.559/2.559, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.254/1.254, allocations: 132.2 MB / 423.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005615/0.0005616, allocations: 12.84 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7367, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001336/0.7381, allocations: 498.3 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.7411, allocations: 1.426 MB / 0.5848 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.7412, allocations: 0 / 0.5848 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.7412, allocations: 0.6562 kB / 0.5848 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.7413, allocations: 1.5 kB / 0.5848 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.7421, allocations: 108.2 kB / 0.5849 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.7422, allocations: 40.86 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.7423, allocations: 2.859 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.7425, allocations: 28.56 kB / 0.585 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.7426, allocations: 30.05 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.7426, allocations: 3.094 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009399/0.7436, allocations: 308.3 kB / 0.5853 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.7436, allocations: 18.59 kB / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.7437, allocations: 38.58 kB / 0.5854 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.7442, allocations: 148.3 kB / 0.5855 GB, free: 2.391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7443, allocations: 0 / 0.5855 GB, free: 2.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.7443, allocations: 0 / 0.5855 GB, free: 2.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.7443, allocations: 0.9688 kB / 0.5855 GB, free: 2.391 MB / 430.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.000875/0.7452, allocations: 389.5 kB / 0.5859 GB, free: 2.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.7453, allocations: 16.88 kB / 0.5859 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.7453, allocations: 38.59 kB / 0.586 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.7461, allocations: 83.84 kB / 0.586 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.7463, allocations: 174.4 kB / 0.5862 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.7463, allocations: 1.969 kB / 0.5862 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.7464, allocations: 13.59 kB / 0.5862 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.747, allocations: 115.5 kB / 0.5863 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.7471, allocations: 1.875 kB / 0.5863 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.7471, allocations: 0 / 0.5863 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.7471, allocations: 5.375 kB / 0.5863 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.7481, allocations: 125.7 kB / 0.5865 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.7491, allocations: 344.5 kB / 0.5868 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.7503, allocations: 192.8 kB / 0.587 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.7504, allocations: 0 / 0.587 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.7504, allocations: 36.28 kB / 0.587 GB, free: 1.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.664e-06/0.7504, allocations: 0 / 0.587 GB, free: 1.258 MB / 430.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.03191/0.7823, allocations: 3.182 MB / 0.5901 GB, free: 392 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.7825, allocations: 57.47 kB / 0.5902 GB, free: 324 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.7826, allocations: 100 kB / 0.5903 GB, free: 220 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.434e-05/0.7827, allocations: 27.59 kB / 0.5903 GB, free: 188 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.7828, allocations: 92.09 kB / 0.5904 GB, free: 96 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.783, allocations: 39.48 kB / 0.5904 GB, free: 64 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.783, allocations: 0 / 0.5904 GB, free: 64 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.7832, allocations: 318.3 kB / 0.5907 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.7846, allocations: 218 kB / 0.5909 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.7858, allocations: 222.9 kB / 0.5911 GB, free: 15.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.7871, allocations: 221.6 kB / 0.5914 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.7871, allocations: 0.6562 kB / 0.5914 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003406/0.7905, allocations: 0.5145 MB / 0.5919 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.7906, allocations: 5.344 kB / 0.5919 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.7906, allocations: 0.8125 kB / 0.5919 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/0.7907, allocations: 4.688 kB / 0.5919 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.7923, allocations: 123.3 kB / 0.592 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.7923, allocations: 0 / 0.592 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.7935, allocations: 57.53 kB / 0.592 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.7937, allocations: 25.2 kB / 0.5921 GB, free: 15.44 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003589/0.794, allocations: 117.9 kB / 0.5922 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.7942, allocations: 10.73 kB / 0.5922 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.7943, allocations: 9.781 kB / 0.5922 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.7943, allocations: 1.531 kB / 0.5922 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.7944, allocations: 1.062 kB / 0.5922 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.7944, allocations: 4.609 kB / 0.5922 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/0.7988, allocations: 1.099 MB / 0.5933 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.7988, allocations: 8 kB / 0.5933 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.8003, allocations: 120.7 kB / 0.5934 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.8003, allocations: 0 / 0.5934 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-05/0.8004, allocations: 25.33 kB / 0.5934 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.8004, allocations: 1.219 kB / 0.5934 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8004, allocations: 0 / 0.5934 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003932/0.8044, allocations: 0.8808 MB / 0.5943 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.8047, allocations: 119 kB / 0.5944 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.8048, allocations: 1.156 kB / 0.5944 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.8059, allocations: 57.72 kB / 0.5945 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.806, allocations: 31.3 kB / 0.5945 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.8062, allocations: 26.48 kB / 0.5945 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.8063, allocations: 81.97 kB / 0.5946 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8063, allocations: 0 / 0.5946 GB, free: 13.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007569/0.807, allocations: 51.16 kB / 0.5946 GB, free: 13.64 MB / 446.1 MB 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 (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.003621/0.8107, allocations: 1.415 MB / 0.596 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.8127, allocations: 470.9 kB / 0.5965 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8127, allocations: 1.312 kB / 0.5965 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008149/0.8135, allocations: 250.3 kB / 0.5967 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.8139, allocations: 11.56 kB / 0.5967 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/0.8213, allocations: 1.869 MB / 0.5985 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.8217, allocations: 0.6919 MB / 0.5992 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007511/0.8225, allocations: 91.59 kB / 0.5993 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.8228, allocations: 68.08 kB / 0.5994 GB, free: 10.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.8228, allocations: 7.938 kB / 0.5994 GB, free: 10.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.8436, allocations: 4.121 MB / 0.6034 GB, free: 8.266 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.8438, allocations: 185.3 kB / 0.6036 GB, free: 8.031 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.518, allocations: 0 / 0.6036 GB, free: 8.031 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: