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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008012/0.0008012, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0007871/0.0007871, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.3 MB / 423.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 16.89 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3974, allocations: 81.56 MB / 0.5832 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007537/0.3982, allocations: 358.6 kB / 0.5835 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3999, allocations: 1.393 MB / 0.5849 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.3999, allocations: 0.9062 kB / 0.5849 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.3999, allocations: 0 / 0.5849 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.941e-05/0.4, allocations: 7.047 kB / 0.5849 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.4004, allocations: 103.3 kB / 0.585 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.883e-05/0.4005, allocations: 20.84 kB / 0.585 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.4005, allocations: 3.141 kB / 0.585 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.4005, allocations: 15.8 kB / 0.585 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.4006, allocations: 19.81 kB / 0.585 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.4007, allocations: 6.25 kB / 0.585 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.4012, allocations: 302.3 kB / 0.5853 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.4012, allocations: 3.906 kB / 0.5853 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.4012, allocations: 34.61 kB / 0.5854 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.4014, allocations: 135.7 kB / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4015, allocations: 1.125 kB / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4015, allocations: 0 / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.4015, allocations: 0 / 0.5855 GB, free: 2.535 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003489/0.4018, allocations: 371.8 kB / 0.5858 GB, free: 2.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4019, allocations: 9.906 kB / 0.5858 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.4019, allocations: 32.02 kB / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.4022, allocations: 73.34 kB / 0.5859 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.4023, allocations: 174.2 kB / 0.5861 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4024, allocations: 5.094 kB / 0.5861 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.4024, allocations: 2.906 kB / 0.5861 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.4026, allocations: 85.67 kB / 0.5862 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4026, allocations: 0.7188 kB / 0.5862 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.4027, allocations: 1 kB / 0.5862 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4027, allocations: 0.6562 kB / 0.5862 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.403, allocations: 86.84 kB / 0.5863 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.4032, allocations: 182.5 kB / 0.5865 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.4037, allocations: 150 kB / 0.5866 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.4039, allocations: 50.91 kB / 0.5867 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.4039, allocations: 5 kB / 0.5867 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.4039, allocations: 32.5 kB / 0.5867 GB, free: 1.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.4039, allocations: 3.938 kB / 0.5867 GB, free: 1.52 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=9): time 0.003903/0.4078, allocations: 0.9454 MB / 0.5876 GB, free: 1.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.4079, allocations: 53.03 kB / 0.5877 GB, free: 1.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.408, allocations: 121.9 kB / 0.5878 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.408, allocations: 27.45 kB / 0.5878 GB, free: 1.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.408, allocations: 86.11 kB / 0.5879 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.408, allocations: 29.09 kB / 0.5879 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.4081, allocations: 5.375 kB / 0.5879 GB, free: 1.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.4081, allocations: 318.2 kB / 0.5882 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.4085, allocations: 117.7 kB / 0.5883 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.4089, allocations: 113.8 kB / 0.5884 GB, free: 0.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.4093, allocations: 111.8 kB / 0.5886 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4093, allocations: 0 / 0.5886 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008467/0.4102, allocations: 287.5 kB / 0.5888 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4102, allocations: 4.938 kB / 0.5888 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4102, allocations: 1.125 kB / 0.5888 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4103, allocations: 0.6562 kB / 0.5888 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.4106, allocations: 64.66 kB / 0.5889 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4106, allocations: 2.234 kB / 0.5889 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.4108, allocations: 49.94 kB / 0.5889 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4108, allocations: 9.578 kB / 0.589 GB, free: 0.6016 MB / 430.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 (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 5.909e-05/0.4109, allocations: 116.7 kB / 0.5891 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.4109, allocations: 10.28 kB / 0.5891 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.411, allocations: 11.16 kB / 0.5891 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.411, allocations: 1.438 kB / 0.5891 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.411, allocations: 0.5156 kB / 0.5891 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.411, allocations: 1.281 kB / 0.5891 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.4125, allocations: 0.659 MB / 0.5897 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4126, allocations: 3.938 kB / 0.5897 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.4128, allocations: 72.31 kB / 0.5898 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4128, allocations: 1 kB / 0.5898 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.4129, allocations: 9.969 kB / 0.5898 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4129, allocations: 1.5 kB / 0.5898 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4129, allocations: 1.5 kB / 0.5898 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/0.4138, allocations: 382.9 kB / 0.5902 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.4139, allocations: 80.5 kB / 0.5903 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.4139, allocations: 6.578 kB / 0.5903 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.4142, allocations: 51.67 kB / 0.5903 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4142, allocations: 10.92 kB / 0.5903 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4142, allocations: 5.875 kB / 0.5903 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.4143, allocations: 94.56 kB / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4143, allocations: 0 / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.4147, allocations: 41.47 kB / 0.5905 GB, free: 15.67 MB / 446.1 MB 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.001331/0.416, allocations: 0.9351 MB / 0.5914 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008777/0.4169, allocations: 251.2 kB / 0.5916 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4169, allocations: 0.9062 kB / 0.5916 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.4173, allocations: 131.8 kB / 0.5917 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.4176, allocations: 11.05 kB / 0.5918 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.4209, allocations: 1.15 MB / 0.5929 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.4211, allocations: 0.6894 MB / 0.5936 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.4212, allocations: 23.2 kB / 0.5936 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.4213, allocations: 25.77 kB / 0.5936 GB, free: 13.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4213, allocations: 0 / 0.5936 GB, free: 13.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.4347, allocations: 2.427 MB / 0.596 GB, free: 13.03 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.4349, allocations: 190.6 kB / 0.5961 GB, free: 12.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.06, allocations: 0 / 0.5961 GB, free: 12.79 MB / 446.1 MB (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) Environment - environmentSimulation: