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.00118/0.00118, allocations: 108 kB / 15.6 MB, free: 128 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.001212/0.001212, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9435/0.9435, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.92 kB / 0.5055 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1457, allocations: 80.93 MB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002054/0.1478, allocations: 0.6195 MB / 0.5851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1497, allocations: 1.444 MB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.1497, allocations: 4 kB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.1498, allocations: 0 / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.1499, allocations: 3.938 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1503, allocations: 123.5 kB / 0.5866 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.1504, allocations: 23.92 kB / 0.5867 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.1505, allocations: 11.97 kB / 0.5867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.1505, allocations: 19.88 kB / 0.5867 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.1506, allocations: 15.91 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1506, allocations: 4 kB / 0.5867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.1511, allocations: 319.4 kB / 0.587 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.1511, allocations: 7.984 kB / 0.587 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.1511, allocations: 11.88 kB / 0.587 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1514, allocations: 191.9 kB / 0.5872 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1514, allocations: 0 / 0.5872 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1515, allocations: 0 / 0.5872 GB, free: 1.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1515, allocations: 0 / 0.5872 GB, free: 1.605 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.0004933/0.152, allocations: 375.3 kB / 0.5876 GB, free: 1.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.152, allocations: 15.97 kB / 0.5876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.1521, allocations: 34.75 kB / 0.5876 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.1524, allocations: 60.86 kB / 0.5877 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1526, allocations: 172.3 kB / 0.5878 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1526, allocations: 384 / 0.5878 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1526, allocations: 12.31 kB / 0.5878 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1529, allocations: 73.77 kB / 0.5879 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1529, allocations: 3.984 kB / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1529, allocations: 4 kB / 0.5879 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.153, allocations: 0 / 0.5879 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.1533, allocations: 75.86 kB / 0.588 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1535, allocations: 165.7 kB / 0.5882 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.1541, allocations: 126.5 kB / 0.5883 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.1543, allocations: 52.88 kB / 0.5883 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1543, allocations: 7.984 kB / 0.5883 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1543, allocations: 34.5 kB / 0.5884 GB, free: 252 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1543, allocations: 0 / 0.5884 GB, free: 252 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.004222/0.1586, allocations: 0.7895 MB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1586, allocations: 55.41 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.1587, allocations: 113.8 kB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1588, allocations: 25.7 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.1588, allocations: 84.14 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1588, allocations: 31.55 kB / 0.5894 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.1589, allocations: 25.7 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.159, allocations: 318.8 kB / 0.5898 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.1595, allocations: 99.89 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.16, allocations: 95.84 kB / 0.59 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.1608, allocations: 192.7 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1608, allocations: 3.938 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009299/0.1618, allocations: 245.6 kB / 0.5904 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1618, allocations: 4.094 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1618, allocations: 7.938 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1618, allocations: 0 / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.1622, allocations: 51.94 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1622, allocations: 4 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1624, allocations: 35.95 kB / 0.5905 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.1624, allocations: 4 kB / 0.5905 GB, free: 14.02 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.613e-05/0.1625, allocations: 117.7 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1626, allocations: 7.906 kB / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.1626, allocations: 16.36 kB / 0.5906 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1626, allocations: 7.938 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1626, allocations: 0 / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1627, allocations: 0 / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.1643, allocations: 0.5897 MB / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1644, allocations: 4 kB / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.1646, allocations: 52.75 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1646, allocations: 4 kB / 0.5913 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1647, allocations: 3.984 kB / 0.5913 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1647, allocations: 7.938 kB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1647, allocations: 3.938 kB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.1656, allocations: 336.9 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.1657, allocations: 93 kB / 0.5917 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1657, allocations: 4 kB / 0.5917 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.166, allocations: 39.95 kB / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1661, allocations: 11.92 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1661, allocations: 4 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.295e-05/0.1661, allocations: 95.27 kB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1661, allocations: 0 / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002997/0.1665, allocations: 40 kB / 0.5919 GB, free: 12.48 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.00136/0.1678, allocations: 0.8899 MB / 0.5927 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009548/0.1688, allocations: 219.7 kB / 0.5929 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1688, allocations: 0 / 0.5929 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.1693, allocations: 112 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1695, allocations: 7.938 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.004557/0.1741, allocations: 2.128 MB / 0.5951 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1743, allocations: 0.6923 MB / 0.5958 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.1744, allocations: 24.66 kB / 0.5958 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.162e-05/0.1745, allocations: 27.41 kB / 0.5959 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.1745, allocations: 0 / 0.5959 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.1942, allocations: 2.691 MB / 0.5985 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.295, allocations: 9.766 kB / 0.5985 GB, free: 5.645 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)