Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_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.008748/0.008748, 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.8162/0.8162, allocations: 135.2 MB / 151 MB, free: 13.83 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.445/1.445, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001027/0.001027, allocations: 103.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3342, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.4818, allocations: 112 MB / 0.759 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.4821, allocations: 87.94 kB / 0.759 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01302/0.4952, allocations: 4.203 MB / 0.7631 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4952, allocations: 0 / 0.7631 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4952, allocations: 0 / 0.7631 GB, free: 15.66 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.000468/0.4957, allocations: 395 kB / 0.7635 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4957, allocations: 12.03 kB / 0.7635 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.4958, allocations: 30.56 kB / 0.7636 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.4961, allocations: 63.84 kB / 0.7636 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.4962, allocations: 171 kB / 0.7638 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4963, allocations: 0 / 0.7638 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.4963, allocations: 4 kB / 0.7638 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.4966, allocations: 81.64 kB / 0.7639 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4966, allocations: 3.938 kB / 0.7639 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.4966, allocations: 0 / 0.7639 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4966, allocations: 0 / 0.7639 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.497, allocations: 87.91 kB / 0.764 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.4972, allocations: 173.6 kB / 0.7641 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.4977, allocations: 146.5 kB / 0.7643 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.4977, allocations: 4 kB / 0.7643 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.4978, allocations: 34.69 kB / 0.7643 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.4978, allocations: 3.938 kB / 0.7643 GB, free: 14.3 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.005237/0.503, allocations: 1.023 MB / 0.7653 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.5031, allocations: 51.41 kB / 0.7654 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.5032, allocations: 105 kB / 0.7655 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.5032, allocations: 25.7 kB / 0.7655 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.5033, allocations: 84.14 kB / 0.7656 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.5033, allocations: 35.55 kB / 0.7656 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.5033, allocations: 0 / 0.7656 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5034, allocations: 326.8 kB / 0.7659 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.5039, allocations: 127.8 kB / 0.766 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.5043, allocations: 123.9 kB / 0.7661 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.5048, allocations: 136.1 kB / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5048, allocations: 0 / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009961/0.5058, allocations: 313.4 kB / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5058, allocations: 4 kB / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5058, allocations: 0 / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5059, allocations: 0 / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.5063, allocations: 71.91 kB / 0.7666 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5063, allocations: 0 / 0.7666 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.5066, allocations: 47.91 kB / 0.7667 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.5066, allocations: 11.97 kB / 0.7667 GB, free: 11.8 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.0001033/0.5067, allocations: 117.8 kB / 0.7668 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.5068, allocations: 7.906 kB / 0.7668 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.5068, allocations: 20.31 kB / 0.7668 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5068, allocations: 0 / 0.7668 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5068, allocations: 0 / 0.7668 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5068, allocations: 0 / 0.7668 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.5088, allocations: 0.6929 MB / 0.7675 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5088, allocations: 0 / 0.7675 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.5091, allocations: 71.98 kB / 0.7676 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5092, allocations: 0 / 0.7676 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.5092, allocations: 7.984 kB / 0.7676 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5092, allocations: 4 kB / 0.7676 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5092, allocations: 8.641 kB / 0.7676 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.5102, allocations: 420.4 kB / 0.768 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.5102, allocations: 88.98 kB / 0.7681 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.5103, allocations: 11.95 kB / 0.7681 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.5106, allocations: 47.95 kB / 0.7681 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.5106, allocations: 11.98 kB / 0.7682 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.5107, allocations: 11.98 kB / 0.7682 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.5107, allocations: 95.83 kB / 0.7683 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5107, allocations: 0 / 0.7683 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003088/0.511, allocations: 39.88 kB / 0.7683 GB, free: 10.04 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.001411/0.5125, allocations: 1.116 MB / 0.7694 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009851/0.5135, allocations: 279.7 kB / 0.7697 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5135, allocations: 0 / 0.7697 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.5139, allocations: 135.9 kB / 0.7698 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.5141, allocations: 10.23 kB / 0.7698 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5177, allocations: 1.215 MB / 0.771 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.518, allocations: 0.6966 MB / 0.7717 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.5182, allocations: 24.66 kB / 0.7717 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.5183, allocations: 31.39 kB / 0.7717 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of SimCode: time 4.6e-07/0.5183, allocations: 0 / 0.7717 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.5324, allocations: 2.644 MB / 0.7743 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.5327, allocations: 177.8 kB / 0.7745 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.167, allocations: 0 / 0.7745 GB, free: 3.66 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)