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.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9163/0.9163, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 72.69 kB / 0.5055 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 80.91 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001996/0.1559, allocations: 0.6276 MB / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1579, allocations: 1.448 MB / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.1579, allocations: 0 / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1579, allocations: 0 / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.158, allocations: 11.92 kB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.1585, allocations: 127.5 kB / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.1585, allocations: 23.92 kB / 0.5867 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.1586, allocations: 0 / 0.5867 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.1586, allocations: 23.86 kB / 0.5867 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.1587, allocations: 15.92 kB / 0.5867 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1587, allocations: 8 kB / 0.5867 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.1592, allocations: 315.3 kB / 0.587 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.1592, allocations: 4 kB / 0.587 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.1592, allocations: 19.86 kB / 0.587 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.1595, allocations: 187.9 kB / 0.5872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1596, allocations: 0 / 0.5872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1596, allocations: 0 / 0.5872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1596, allocations: 0 / 0.5872 GB, free: 1.617 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.0005043/0.1601, allocations: 383.2 kB / 0.5876 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1601, allocations: 8.031 kB / 0.5876 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1602, allocations: 38.73 kB / 0.5876 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.1606, allocations: 56.86 kB / 0.5877 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1607, allocations: 172.3 kB / 0.5878 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1608, allocations: 8.375 kB / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1608, allocations: 384 / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.1611, allocations: 73.77 kB / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1611, allocations: 4 kB / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1611, allocations: 0 / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1611, allocations: 0 / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.1615, allocations: 83.84 kB / 0.588 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.1617, allocations: 161.7 kB / 0.5882 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.1623, allocations: 126.5 kB / 0.5883 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1625, allocations: 48.94 kB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1625, allocations: 7.875 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1625, allocations: 34.5 kB / 0.5884 GB, free: 272 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1625, allocations: 0 / 0.5884 GB, free: 272 kB / 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.004263/0.1668, allocations: 0.7938 MB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1668, allocations: 51.41 kB / 0.5892 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.1669, allocations: 113.8 kB / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.167, allocations: 25.7 kB / 0.5893 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.167, allocations: 88.14 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.1671, allocations: 31.55 kB / 0.5894 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.1671, allocations: 25.7 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.1672, allocations: 318.8 kB / 0.5898 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.1677, allocations: 95.91 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.1682, allocations: 99.83 kB / 0.59 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/0.1691, allocations: 192.7 kB / 0.5901 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1691, allocations: 7.938 kB / 0.5901 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009712/0.1701, allocations: 237.6 kB / 0.5904 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1701, allocations: 8 kB / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1701, allocations: 96 / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1701, allocations: 3.938 kB / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.1704, allocations: 55.94 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1705, allocations: 0 / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.1707, allocations: 35.95 kB / 0.5905 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.1707, allocations: 11.98 kB / 0.5905 GB, free: 14.04 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.619e-05/0.1708, allocations: 117.7 kB / 0.5906 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1708, allocations: 7.906 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.1709, allocations: 12.38 kB / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1709, allocations: 0 / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1709, allocations: 0 / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1709, allocations: 7.984 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.1727, allocations: 0.5897 MB / 0.5912 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1727, allocations: 4.062 kB / 0.5912 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.173, allocations: 51.94 kB / 0.5912 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.173, allocations: 4 kB / 0.5913 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.173, allocations: 11.88 kB / 0.5913 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.173, allocations: 4 kB / 0.5913 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.173, allocations: 7.938 kB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.174, allocations: 336.9 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.1741, allocations: 81.02 kB / 0.5917 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1741, allocations: 12 kB / 0.5917 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.1744, allocations: 31.95 kB / 0.5917 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1745, allocations: 12.3 kB / 0.5917 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1745, allocations: 11.98 kB / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.1745, allocations: 87.67 kB / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1745, allocations: 0 / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003122/0.1749, allocations: 43.98 kB / 0.5919 GB, free: 12.5 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.001414/0.1763, allocations: 0.8899 MB / 0.5927 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.1773, allocations: 219.8 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1773, allocations: 4 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.1778, allocations: 115.9 kB / 0.5931 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1781, allocations: 11.94 kB / 0.5931 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/0.183, allocations: 2.119 MB / 0.5951 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1834, allocations: 0.6923 MB / 0.5958 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.1835, allocations: 20.66 kB / 0.5958 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.1836, allocations: 23.42 kB / 0.5959 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1836, allocations: 0 / 0.5959 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.2039, allocations: 2.703 MB / 0.5985 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.393, allocations: 5.812 kB / 0.5985 GB, free: 5.652 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)