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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01208/0.01208, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7869/0.7869, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 223.2 MB / 406.8 MB, free: 3.203 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.0009443, allocations: 107.6 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004508, allocations: 12 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4582, allocations: 82.3 MB / 0.6495 GB, free: 36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.6553, allocations: 112.8 MB / 0.7597 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.6556, allocations: 79.95 kB / 0.7598 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02608/0.6817, allocations: 5.542 MB / 0.7652 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 6.051e-06/0.6818, allocations: 3.984 kB / 0.7652 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.6818, allocations: 4 kB / 0.7652 GB, free: 13.39 MB / 0.5417 GB 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.0008113/0.6826, allocations: 415 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.6827, allocations: 8.031 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.6828, allocations: 34.56 kB / 0.7657 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005542/0.6833, allocations: 71.83 kB / 0.7657 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.6835, allocations: 171 kB / 0.7659 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.6836, allocations: 4 kB / 0.7659 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.6836, allocations: 8 kB / 0.7659 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.6842, allocations: 121 kB / 0.766 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.6842, allocations: 0 / 0.766 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.6842, allocations: 7.984 kB / 0.766 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.6843, allocations: 4 kB / 0.766 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.685, allocations: 115.9 kB / 0.7661 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.6859, allocations: 348.6 kB / 0.7665 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.6868, allocations: 178.5 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.6868, allocations: 3.984 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.6869, allocations: 30.56 kB / 0.7667 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 4.108e-06/0.6869, allocations: 4 kB / 0.7667 GB, free: 11.73 MB / 0.5417 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.02996/0.7169, allocations: 3.194 MB / 0.7698 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.717, allocations: 51.41 kB / 0.7698 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.7171, allocations: 97 kB / 0.7699 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/0.7172, allocations: 25.7 kB / 0.77 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.7172, allocations: 92.12 kB / 0.7701 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.7174, allocations: 39.36 kB / 0.7701 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.7174, allocations: 0 / 0.7701 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7176, allocations: 314.8 kB / 0.7704 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.7187, allocations: 215.8 kB / 0.7706 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.7197, allocations: 219.8 kB / 0.7708 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.7208, allocations: 224 kB / 0.771 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7209, allocations: 0 / 0.771 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002542/0.7234, allocations: 0.5128 MB / 0.7715 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.7235, allocations: 4 kB / 0.7715 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.7235, allocations: 3.953 kB / 0.7715 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7235, allocations: 4 kB / 0.7715 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.7249, allocations: 119.9 kB / 0.7716 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.7249, allocations: 3.938 kB / 0.7716 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.726, allocations: 59.94 kB / 0.7717 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.7261, allocations: 27.92 kB / 0.7717 GB, free: 6.41 MB / 0.5417 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.0002108/0.7263, allocations: 121.8 kB / 0.7718 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.7265, allocations: 7.906 kB / 0.7719 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/0.7265, allocations: 7.969 kB / 0.7719 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.7266, allocations: 3.953 kB / 0.7719 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7266, allocations: 0 / 0.7719 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7266, allocations: 3.938 kB / 0.7719 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.7302, allocations: 1.105 MB / 0.773 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7302, allocations: 0 / 0.773 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.7316, allocations: 123.7 kB / 0.7731 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7316, allocations: 4 kB / 0.7731 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.329e-05/0.7317, allocations: 23.92 kB / 0.7731 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.7317, allocations: 4 kB / 0.7731 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7317, allocations: 0 / 0.7731 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.7353, allocations: 0.87 MB / 0.7739 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.7355, allocations: 117 kB / 0.7741 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.7356, allocations: 4 kB / 0.7741 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009565/0.7366, allocations: 59.98 kB / 0.7741 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7367, allocations: 31.92 kB / 0.7742 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.7368, allocations: 20.12 kB / 0.7742 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.775e-05/0.7369, allocations: 87.25 kB / 0.7743 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7369, allocations: 0 / 0.7743 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000641/0.7376, allocations: 63.94 kB / 0.7743 GB, free: 3.602 MB / 0.5417 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.003769/0.7414, allocations: 1.426 MB / 0.7757 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.7428, allocations: 475.5 kB / 0.7762 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7428, allocations: 0 / 0.7762 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.7435, allocations: 251.7 kB / 0.7764 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.7438, allocations: 4 kB / 0.7764 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/0.7506, allocations: 1.871 MB / 0.7782 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.7509, allocations: 0.6926 MB / 0.7789 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007514/0.7517, allocations: 92.66 kB / 0.779 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.752, allocations: 67.3 kB / 0.7791 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.752, allocations: 0 / 0.7791 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.7686, allocations: 4.127 MB / 0.7831 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.7688, allocations: 190.8 kB / 0.7833 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.401, allocations: 0 / 0.7833 GB, free: 10.42 MB / 0.5573 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)