Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",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.006774/0.006773, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7876/0.7876, allocations: 135.2 MB / 151 MB, free: 13.81 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.697/1.697, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001288/0.001288, allocations: 91.8 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005126, allocations: 11.98 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4151, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.5588, allocations: 112 MB / 0.759 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5591, allocations: 83.95 kB / 0.759 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.5724, allocations: 4.2 MB / 0.7631 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5724, allocations: 3.938 kB / 0.7631 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.5724, allocations: 8 kB / 0.7632 GB, free: 15.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004675/0.5729, allocations: 387.1 kB / 0.7635 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.573, allocations: 8.031 kB / 0.7635 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.573, allocations: 34.55 kB / 0.7636 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.5733, allocations: 55.86 kB / 0.7636 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.5735, allocations: 179 kB / 0.7638 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.5735, allocations: 4 kB / 0.7638 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.5735, allocations: 0 / 0.7638 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.5738, allocations: 81.64 kB / 0.7639 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5738, allocations: 3.938 kB / 0.7639 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5738, allocations: 4 kB / 0.7639 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5738, allocations: 0 / 0.7639 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.5742, allocations: 87.91 kB / 0.764 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.5744, allocations: 177.6 kB / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.575, allocations: 146.4 kB / 0.7643 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.575, allocations: 0 / 0.7643 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.575, allocations: 34.56 kB / 0.7643 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.5751, allocations: 3.938 kB / 0.7643 GB, free: 14.26 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=9): time 0.005286/0.5803, allocations: 1.017 MB / 0.7653 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.5804, allocations: 51.41 kB / 0.7653 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.5805, allocations: 113 kB / 0.7655 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.5805, allocations: 25.7 kB / 0.7655 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.5806, allocations: 88.14 kB / 0.7656 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.5807, allocations: 27.55 kB / 0.7656 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.5807, allocations: 4 kB / 0.7656 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5808, allocations: 318.8 kB / 0.7659 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.5813, allocations: 131.8 kB / 0.766 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.5817, allocations: 131.9 kB / 0.7661 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.5822, allocations: 128.1 kB / 0.7663 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5822, allocations: 0 / 0.7663 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009471/0.5831, allocations: 309.4 kB / 0.7666 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5832, allocations: 7.984 kB / 0.7666 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5832, allocations: 0 / 0.7666 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5832, allocations: 8 kB / 0.7666 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.5836, allocations: 67.92 kB / 0.7666 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.5836, allocations: 0 / 0.7666 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.5839, allocations: 47.89 kB / 0.7667 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.584, allocations: 7.984 kB / 0.7667 GB, free: 11.76 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 (9): * Single equations (assignments): 9 * 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.0001069/0.5841, allocations: 121.8 kB / 0.7668 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.5841, allocations: 7.906 kB / 0.7668 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.5842, allocations: 12.31 kB / 0.7668 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5842, allocations: 0 / 0.7668 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5842, allocations: 0 / 0.7668 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.5842, allocations: 4 kB / 0.7668 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.5861, allocations: 0.6893 MB / 0.7675 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5862, allocations: 4 kB / 0.7675 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.5865, allocations: 71.97 kB / 0.7676 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5865, allocations: 0 / 0.7676 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.5865, allocations: 11.98 kB / 0.7676 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5865, allocations: 0.8281 kB / 0.7676 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5866, allocations: 11.88 kB / 0.7676 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.5876, allocations: 424.4 kB / 0.768 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.5876, allocations: 85.02 kB / 0.7681 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.5877, allocations: 7.953 kB / 0.7681 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.588, allocations: 51.95 kB / 0.7682 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.588, allocations: 11.97 kB / 0.7682 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.588, allocations: 7.984 kB / 0.7682 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.5881, allocations: 87.28 kB / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5881, allocations: 192 / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000309/0.5884, allocations: 43.92 kB / 0.7683 GB, free: 10 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.001487/0.5899, allocations: 1.124 MB / 0.7694 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009668/0.5909, allocations: 263.7 kB / 0.7696 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5909, allocations: 4 kB / 0.7696 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.5914, allocations: 143.9 kB / 0.7698 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.5915, allocations: 0 / 0.7698 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.5952, allocations: 1.219 MB / 0.771 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5956, allocations: 0.6926 MB / 0.7717 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.5957, allocations: 28.72 kB / 0.7717 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.5959, allocations: 35.39 kB / 0.7717 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.5959, allocations: 0 / 0.7717 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.6112, allocations: 2.657 MB / 0.7743 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.6115, allocations: 177.2 kB / 0.7745 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.194, allocations: 2.25 kB / 0.7745 GB, free: 3.617 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)