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.001626/0.001625, 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.001784/0.001783, allocations: 177.3 kB / 15.95 MB, free: 216 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.295/2.295, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.504/1.504, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.0005501, allocations: 12 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2239, allocations: 82.31 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001324/0.2253, allocations: 492.1 kB / 0.5878 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.2278, allocations: 1.408 MB / 0.5891 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.2278, allocations: 0 / 0.5891 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.2279, allocations: 3.938 kB / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.2279, allocations: 7.984 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.2285, allocations: 111.7 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.709e-05/0.2287, allocations: 23.97 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.294e-05/0.2287, allocations: 7.938 kB / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2288, allocations: 27.97 kB / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.2289, allocations: 31.84 kB / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.229, allocations: 4 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.2296, allocations: 315.5 kB / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.2297, allocations: 19.91 kB / 0.5897 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.2297, allocations: 33.7 kB / 0.5897 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.2301, allocations: 148 kB / 0.5898 GB, free: 376 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2301, allocations: 0 / 0.5898 GB, free: 376 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2301, allocations: 0 / 0.5898 GB, free: 376 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.2301, allocations: 4 kB / 0.5898 GB, free: 372 kB / 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.0008822/0.231, allocations: 391.2 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.2311, allocations: 8.031 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.396e-05/0.2312, allocations: 38.56 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006409/0.2318, allocations: 83.81 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.232, allocations: 182.9 kB / 0.5905 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.2321, allocations: 0 / 0.5905 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.2321, allocations: 15.94 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.2327, allocations: 117.6 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2327, allocations: 0 / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.2327, allocations: 0 / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.2327, allocations: 4 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.2335, allocations: 123.9 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.2343, allocations: 348.5 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009599/0.2353, allocations: 182.4 kB / 0.5913 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2353, allocations: 4 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.2353, allocations: 34.5 kB / 0.5913 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.2354, allocations: 0 / 0.5913 GB, free: 14.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.02481/0.2602, allocations: 3.187 MB / 0.5944 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.2603, allocations: 55.39 kB / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2604, allocations: 97.86 kB / 0.5946 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/0.2605, allocations: 25.7 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.2606, allocations: 99.97 kB / 0.5947 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.2607, allocations: 31.47 kB / 0.5947 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.2608, allocations: 4 kB / 0.5947 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2609, allocations: 322.8 kB / 0.595 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.262, allocations: 211.8 kB / 0.5952 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.2632, allocations: 219.8 kB / 0.5954 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.2644, allocations: 215.8 kB / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2644, allocations: 0 / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002436/0.2669, allocations: 0.5238 MB / 0.5962 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.2669, allocations: 7.953 kB / 0.5962 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2669, allocations: 8 kB / 0.5962 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.267, allocations: 0 / 0.5962 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.2682, allocations: 119.9 kB / 0.5963 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2683, allocations: 3.938 kB / 0.5963 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/0.2692, allocations: 55.94 kB / 0.5963 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.2693, allocations: 23.94 kB / 0.5964 GB, free: 9.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002518/0.2695, allocations: 121.8 kB / 0.5965 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2697, allocations: 7.906 kB / 0.5965 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.2698, allocations: 19.91 kB / 0.5965 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2698, allocations: 192 / 0.5965 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2698, allocations: 0 / 0.5965 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2698, allocations: 7.984 kB / 0.5965 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.2734, allocations: 1.102 MB / 0.5976 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2735, allocations: 0 / 0.5976 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.275, allocations: 127.7 kB / 0.5977 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.275, allocations: 0 / 0.5977 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.2751, allocations: 23.94 kB / 0.5977 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.2751, allocations: 0 / 0.5977 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2751, allocations: 0 / 0.5977 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004634/0.2798, allocations: 0.8719 MB / 0.5986 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.2801, allocations: 116.9 kB / 0.5987 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.2802, allocations: 4 kB / 0.5987 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.2814, allocations: 60 kB / 0.5988 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2815, allocations: 31.92 kB / 0.5988 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.2816, allocations: 31.86 kB / 0.5988 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.2817, allocations: 75.28 kB / 0.5989 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2817, allocations: 0 / 0.5989 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007242/0.2824, allocations: 52 kB / 0.5989 GB, free: 6.57 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 (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.004388/0.2869, allocations: 1.411 MB / 0.6003 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.2891, allocations: 479.5 kB / 0.6008 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.2892, allocations: 0 / 0.6008 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.2903, allocations: 247.7 kB / 0.601 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2906, allocations: 9.719 kB / 0.601 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/0.2986, allocations: 1.855 MB / 0.6028 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.299, allocations: 0.6965 MB / 0.6035 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001095/0.3001, allocations: 92.67 kB / 0.6036 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.3005, allocations: 71.28 kB / 0.6037 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of SimCode: time 1.193e-06/0.3005, allocations: 0 / 0.6037 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3856/0.6861, allocations: 4.126 MB / 0.6077 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.6864, allocations: 202.5 kB / 0.6079 GB, free: 49.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/3.595, allocations: 5.766 kB / 0.6079 GB, free: 49.12 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/linux/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) Environment - environmentSimulation: