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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.006523/0.006523, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8071/0.8071, allocations: 135.2 MB / 151.1 MB, free: 13.8 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.536/1.536, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.0008995/0.0008995, allocations: 94.92 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003739, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.381, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.526, allocations: 112.8 MB / 0.7597 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5263, allocations: 79.95 kB / 0.7598 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01664/0.5429, allocations: 5.534 MB / 0.7652 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.003e-06/0.543, allocations: 0 / 0.7652 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.543, allocations: 0 / 0.7652 GB, free: 13.52 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.0004775/0.5435, allocations: 411 kB / 0.7656 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5435, allocations: 12.03 kB / 0.7656 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.5436, allocations: 38.55 kB / 0.7657 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.5439, allocations: 67.84 kB / 0.7657 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.5441, allocations: 167 kB / 0.7659 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.5441, allocations: 11.88 kB / 0.7659 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.5441, allocations: 12 kB / 0.7659 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.5445, allocations: 117.6 kB / 0.766 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.5445, allocations: 0 / 0.766 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.5446, allocations: 4 kB / 0.766 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5446, allocations: 4 kB / 0.766 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.5451, allocations: 119.9 kB / 0.7661 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.5456, allocations: 344.6 kB / 0.7665 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.5463, allocations: 186.4 kB / 0.7666 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.5463, allocations: 0 / 0.7666 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5463, allocations: 42.56 kB / 0.7667 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.5463, allocations: 0 / 0.7667 GB, free: 11.84 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.02169/0.568, allocations: 3.179 MB / 0.7698 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.5681, allocations: 63.39 kB / 0.7699 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.5682, allocations: 93 kB / 0.7699 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.5682, allocations: 25.7 kB / 0.77 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.5683, allocations: 88.12 kB / 0.77 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.5684, allocations: 39.36 kB / 0.7701 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.5684, allocations: 4 kB / 0.7701 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5685, allocations: 318.8 kB / 0.7704 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/0.5692, allocations: 215.8 kB / 0.7706 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.5699, allocations: 215.8 kB / 0.7708 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.5705, allocations: 224 kB / 0.771 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5705, allocations: 0 / 0.771 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00151/0.5721, allocations: 0.5176 MB / 0.7715 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5721, allocations: 4 kB / 0.7715 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5721, allocations: 3.953 kB / 0.7715 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5721, allocations: 4 kB / 0.7715 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/0.573, allocations: 123.8 kB / 0.7717 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5731, allocations: 0 / 0.7717 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.5738, allocations: 55.94 kB / 0.7717 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.5738, allocations: 27.94 kB / 0.7717 GB, free: 6.535 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.0001591/0.574, allocations: 109.8 kB / 0.7718 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.5741, allocations: 7.906 kB / 0.7718 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.5741, allocations: 11.95 kB / 0.7719 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.5741, allocations: 7.953 kB / 0.7719 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5741, allocations: 3.938 kB / 0.7719 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5742, allocations: 4.094 kB / 0.7719 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.5763, allocations: 1.101 MB / 0.7729 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5764, allocations: 4 kB / 0.773 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009476/0.5773, allocations: 127.8 kB / 0.7731 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5773, allocations: 0 / 0.7731 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.5774, allocations: 23.88 kB / 0.7731 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5774, allocations: 1.016 kB / 0.7731 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5774, allocations: 0 / 0.7731 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.5798, allocations: 0.8734 MB / 0.774 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.58, allocations: 121 kB / 0.7741 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.58, allocations: 0 / 0.7741 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.5808, allocations: 60 kB / 0.7741 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.5809, allocations: 27.92 kB / 0.7742 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.581, allocations: 31.92 kB / 0.7742 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.234e-05/0.581, allocations: 83.28 kB / 0.7743 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/0.581, allocations: 0 / 0.7743 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003953/0.5814, allocations: 59.94 kB / 0.7743 GB, free: 3.73 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.002636/0.5841, allocations: 1.419 MB / 0.7757 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.5855, allocations: 479.5 kB / 0.7762 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5855, allocations: 0 / 0.7762 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.5862, allocations: 247.7 kB / 0.7764 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5865, allocations: 11.98 kB / 0.7764 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00712/0.5936, allocations: 1.868 MB / 0.7782 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.5939, allocations: 0.6965 MB / 0.7789 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006938/0.5946, allocations: 88.67 kB / 0.779 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.5949, allocations: 71.28 kB / 0.7791 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of SimCode: time 6.863e-06/0.595, allocations: 0 / 0.7791 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.6099, allocations: 4.122 MB / 0.7831 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.6101, allocations: 191.3 kB / 0.7833 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.385, allocations: 3.938 kB / 0.7833 GB, free: 10.52 MB / 0.5573 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/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)