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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00142/0.00142, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9571/0.9571, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 68.14 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 80.92 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002125/0.1497, allocations: 0.6817 MB / 0.5845 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.1519, allocations: 1.468 MB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.152, allocations: 4 kB / 0.5859 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.1521, allocations: 0 / 0.5859 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.1522, allocations: 3.984 kB / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1526, allocations: 99.62 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.1527, allocations: 23.92 kB / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1527, allocations: 4 kB / 0.5861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.1528, allocations: 19.92 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.1529, allocations: 15.92 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1529, allocations: 4 kB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.1534, allocations: 311.3 kB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.1534, allocations: 19.92 kB / 0.5864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.1534, allocations: 15.88 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1537, allocations: 179.9 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1538, allocations: 0 / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1538, allocations: 0 / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1538, allocations: 0 / 0.5866 GB, free: 2.059 MB / 494.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.000531/0.1543, allocations: 383.3 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1544, allocations: 12.03 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.1544, allocations: 38.75 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/0.1548, allocations: 56.86 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.155, allocations: 180.2 kB / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.155, allocations: 4.375 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1551, allocations: 4.375 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.1553, allocations: 73.7 kB / 0.5873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1554, allocations: 0 / 0.5873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1554, allocations: 7.984 kB / 0.5873 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1554, allocations: 4 kB / 0.5873 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.1558, allocations: 67.92 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.156, allocations: 165.7 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.1566, allocations: 126.5 kB / 0.5877 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1568, allocations: 48.94 kB / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1568, allocations: 0 / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1568, allocations: 42.44 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1569, allocations: 0 / 0.5878 GB, free: 0.6992 MB / 494.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.004146/0.161, allocations: 0.7828 MB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1611, allocations: 55.41 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.1612, allocations: 121.8 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1612, allocations: 29.7 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.1612, allocations: 84.14 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.1613, allocations: 27.56 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.1613, allocations: 25.7 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1615, allocations: 318.8 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.1619, allocations: 103.9 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.1623, allocations: 91.91 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.1631, allocations: 188.7 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1631, allocations: 3.938 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008692/0.164, allocations: 250.1 kB / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1641, allocations: 6.031 kB / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1641, allocations: 384 / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1641, allocations: 0 / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.1644, allocations: 59.88 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1644, allocations: 0 / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.1646, allocations: 43.89 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1647, allocations: 8 kB / 0.5899 GB, free: 14.47 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.1648, allocations: 113.8 kB / 0.59 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1648, allocations: 15.84 kB / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.1648, allocations: 12.36 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1648, allocations: 0 / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1649, allocations: 0 / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1649, allocations: 0 / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.1667, allocations: 0.5936 MB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1667, allocations: 0 / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.167, allocations: 59.94 kB / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.167, allocations: 0 / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.167, allocations: 8 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.167, allocations: 0 / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.167, allocations: 7.922 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.1679, allocations: 340.9 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.168, allocations: 89 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.168, allocations: 4 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.1683, allocations: 35.95 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1684, allocations: 15.92 kB / 0.5911 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1684, allocations: 4 kB / 0.5911 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.1685, allocations: 95.64 kB / 0.5912 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1685, allocations: 4 kB / 0.5912 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002974/0.1688, allocations: 36 kB / 0.5913 GB, free: 12.93 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/0.1702, allocations: 0.8935 MB / 0.5921 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008695/0.171, allocations: 211.9 kB / 0.5923 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.171, allocations: 0 / 0.5923 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.1715, allocations: 112 kB / 0.5924 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1717, allocations: 7.938 kB / 0.5924 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.1764, allocations: 2.142 MB / 0.5945 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1767, allocations: 0.6809 MB / 0.5952 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.1769, allocations: 24.66 kB / 0.5952 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.177, allocations: 27.42 kB / 0.5953 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.177, allocations: 0 / 0.5953 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.1896, allocations: 2.513 MB / 0.5977 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.1898, allocations: 207.5 kB / 0.5979 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.852, allocations: 7.188 kB / 0.5979 GB, free: 6.043 MB / 0.4981 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/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)