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.0009855/0.0009855, allocations: 91.61 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.001186/0.001186, 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.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9188/0.9188, allocations: 135.3 MB / 426.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 12.22 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 82.31 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006637/0.1488, allocations: 351.1 kB / 0.5878 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1504, allocations: 1.379 MB / 0.5892 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1504, allocations: 0 / 0.5892 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.1505, allocations: 7.938 kB / 0.5892 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.1505, allocations: 3.984 kB / 0.5892 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.1508, allocations: 99.69 kB / 0.5893 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.1509, allocations: 23.92 kB / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.151, allocations: 0 / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.352e-05/0.151, allocations: 19.86 kB / 0.5893 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.1511, allocations: 15.92 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1511, allocations: 4 kB / 0.5893 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.1515, allocations: 303.4 kB / 0.5896 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1515, allocations: 15.92 kB / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.1515, allocations: 29.7 kB / 0.5897 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1517, allocations: 132.1 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1517, allocations: 0 / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1517, allocations: 0 / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1518, allocations: 0 / 0.5898 GB, free: 0.4922 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.0004148/0.1522, allocations: 371.2 kB / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1522, allocations: 11.97 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.1523, allocations: 34.56 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.1526, allocations: 79.83 kB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1528, allocations: 167 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1528, allocations: 3.938 kB / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1528, allocations: 7.984 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1531, allocations: 81.64 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1531, allocations: 0 / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1531, allocations: 0 / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1531, allocations: 0 / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.1534, allocations: 87.92 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1536, allocations: 177.6 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.1541, allocations: 146.4 kB / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.1543, allocations: 44.94 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1543, allocations: 7.938 kB / 0.5909 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1543, allocations: 38.56 kB / 0.591 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1543, allocations: 0 / 0.591 GB, free: 15.09 MB / 0.4981 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.00376/0.1581, allocations: 0.9614 MB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.1582, allocations: 51.41 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.1583, allocations: 109.8 kB / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1583, allocations: 29.7 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.1583, allocations: 88.12 kB / 0.5922 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1584, allocations: 23.56 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.1584, allocations: 8 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1585, allocations: 318.8 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.1589, allocations: 119.9 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.1593, allocations: 111.9 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1597, allocations: 120.1 kB / 0.5929 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1597, allocations: 4 kB / 0.5929 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008225/0.1605, allocations: 285.3 kB / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1606, allocations: 7.984 kB / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1606, allocations: 0 / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1606, allocations: 0 / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1609, allocations: 67.88 kB / 0.5932 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1609, allocations: 4 kB / 0.5932 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1611, allocations: 43.95 kB / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1612, allocations: 4 kB / 0.5933 GB, free: 12.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.992e-05/0.1613, allocations: 121.8 kB / 0.5934 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.1613, allocations: 0 / 0.5934 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.1613, allocations: 16.38 kB / 0.5934 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1614, allocations: 4 kB / 0.5934 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1614, allocations: 0 / 0.5934 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1614, allocations: 0 / 0.5934 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.1629, allocations: 0.6599 MB / 0.594 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1629, allocations: 0 / 0.594 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.1632, allocations: 68.69 kB / 0.5941 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1632, allocations: 4 kB / 0.5941 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1632, allocations: 3.938 kB / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1632, allocations: 11.95 kB / 0.5941 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1633, allocations: 0 / 0.5941 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.1641, allocations: 388.9 kB / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.1641, allocations: 77.11 kB / 0.5946 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1642, allocations: 12 kB / 0.5946 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.1644, allocations: 43.95 kB / 0.5946 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1645, allocations: 11.94 kB / 0.5946 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1645, allocations: 4 kB / 0.5946 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.1645, allocations: 91.27 kB / 0.5947 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1645, allocations: 192 / 0.5947 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003076/0.1649, allocations: 39.98 kB / 0.5948 GB, free: 11.05 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 (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.001228/0.1661, allocations: 0.9481 MB / 0.5957 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000831/0.1669, allocations: 243.8 kB / 0.5959 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.167, allocations: 0 / 0.5959 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.1674, allocations: 128.6 kB / 0.596 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.1676, allocations: 17.39 kB / 0.5961 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.1706, allocations: 1.152 MB / 0.5972 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1709, allocations: 0.6809 MB / 0.5978 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.171, allocations: 32.86 kB / 0.5979 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.1711, allocations: 31.41 kB / 0.5979 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1711, allocations: 0 / 0.5979 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.1833, allocations: 2.429 MB / 0.6003 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.1836, allocations: 197.2 kB / 0.6005 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.833, allocations: 0 / 0.6005 GB, free: 5.191 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/linux/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) Environment - environmentSimulation: