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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0016/0.0016, allocations: 199.3 kB / 16.14 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.725/0.725, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.81 kB / 0.5012 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3355, allocations: 80.2 MB / 0.5795 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001883/0.3374, allocations: 0.8438 MB / 0.5803 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.339, allocations: 1.493 MB / 0.5818 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.3391, allocations: 0 / 0.5818 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.3391, allocations: 6.078 kB / 0.5818 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.013e-05/0.3392, allocations: 0 / 0.5818 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.3396, allocations: 116.6 kB / 0.5819 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.096e-05/0.3396, allocations: 46.92 kB / 0.582 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.3397, allocations: 8.359 kB / 0.582 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.3398, allocations: 28.61 kB / 0.582 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.3398, allocations: 29.91 kB / 0.582 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3399, allocations: 2.906 kB / 0.582 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.3403, allocations: 324.2 kB / 0.5823 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.3403, allocations: 10.53 kB / 0.5823 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.3404, allocations: 21.95 kB / 0.5824 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.3407, allocations: 213.3 kB / 0.5826 GB, free: 2.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3407, allocations: 1.609 kB / 0.5826 GB, free: 2.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3407, allocations: 0 / 0.5826 GB, free: 2.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.3407, allocations: 4 kB / 0.5826 GB, free: 2.656 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.0005199/0.3412, allocations: 403.9 kB / 0.583 GB, free: 2.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3413, allocations: 8.844 kB / 0.583 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.3413, allocations: 38.31 kB / 0.583 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004516/0.3418, allocations: 68.27 kB / 0.5831 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.3419, allocations: 176.2 kB / 0.5832 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.3419, allocations: 11.88 kB / 0.5832 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3419, allocations: 4.812 kB / 0.5833 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.3423, allocations: 115.7 kB / 0.5834 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3423, allocations: 0.875 kB / 0.5834 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3423, allocations: 1.75 kB / 0.5834 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3423, allocations: 1.875 kB / 0.5834 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.3428, allocations: 101.3 kB / 0.5835 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.3433, allocations: 330.8 kB / 0.5838 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.3439, allocations: 159.8 kB / 0.5839 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.3442, allocations: 54.62 kB / 0.584 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3442, allocations: 5 kB / 0.584 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.3442, allocations: 36.55 kB / 0.584 GB, free: 1.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3442, allocations: 3.938 kB / 0.584 GB, free: 1.516 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.01848/0.3627, allocations: 2.831 MB / 0.5868 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.3627, allocations: 57.12 kB / 0.5868 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.709e-05/0.3628, allocations: 101.4 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.3628, allocations: 26.92 kB / 0.587 GB, free: 492 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.3629, allocations: 92.25 kB / 0.5871 GB, free: 400 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.3629, allocations: 38.64 kB / 0.5871 GB, free: 368 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.3631, allocations: 69.58 kB / 0.5872 GB, free: 344 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.85e-05/0.3632, allocations: 322.4 kB / 0.5875 GB, free: 16 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.3638, allocations: 188.6 kB / 0.5876 GB, free: 15.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.3645, allocations: 196 kB / 0.5878 GB, free: 15.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.3659, allocations: 399.1 kB / 0.5882 GB, free: 15.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3659, allocations: 1.094 kB / 0.5882 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001583/0.3675, allocations: 473 kB / 0.5887 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3675, allocations: 5.062 kB / 0.5887 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3675, allocations: 9.312 kB / 0.5887 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3675, allocations: 0 / 0.5887 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.3683, allocations: 105.9 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3684, allocations: 5.312 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.369, allocations: 49.61 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.369, allocations: 24.58 kB / 0.5889 GB, free: 15.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.3692, allocations: 114.6 kB / 0.589 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.3693, allocations: 7.75 kB / 0.589 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.3693, allocations: 14.16 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3694, allocations: 5.844 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3694, allocations: 0 / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3694, allocations: 1.109 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.3716, allocations: 1.046 MB / 0.59 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3716, allocations: 5.375 kB / 0.59 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/0.3724, allocations: 108.9 kB / 0.5901 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3724, allocations: 0 / 0.5901 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.3725, allocations: 21 kB / 0.5901 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3725, allocations: 6.016 kB / 0.5902 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3725, allocations: 4 kB / 0.5902 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.3748, allocations: 0.7941 MB / 0.5909 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.375, allocations: 119.3 kB / 0.591 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.375, allocations: 1.062 kB / 0.591 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.3757, allocations: 47.91 kB / 0.5911 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3759, allocations: 38.05 kB / 0.5911 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.3759, allocations: 26.36 kB / 0.5912 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.6e-05/0.376, allocations: 81.94 kB / 0.5912 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.376, allocations: 1.281 kB / 0.5912 GB, free: 13.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.3763, allocations: 49.97 kB / 0.5913 GB, free: 13.94 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 (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.002552/0.3789, allocations: 1.351 MB / 0.5926 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3802, allocations: 422.8 kB / 0.593 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3803, allocations: 1.938 kB / 0.593 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.3809, allocations: 227.7 kB / 0.5932 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3813, allocations: 7.219 kB / 0.5932 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.3895, allocations: 2.958 MB / 0.5961 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3897, allocations: 0.6912 MB / 0.5968 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006965/0.3904, allocations: 87.25 kB / 0.5969 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.3907, allocations: 63.83 kB / 0.5969 GB, free: 9.609 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3907, allocations: 0 / 0.5969 GB, free: 9.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.4204, allocations: 4.277 MB / 0.6011 GB, free: 7.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/0.4207, allocations: 215.8 kB / 0.6013 GB, free: 7.156 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.269, allocations: 7.75 kB / 0.6013 GB, free: 7.152 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/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)