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.005271/0.005271, allocations: 101.1 kB / 15.73 MB, free: 6.004 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.001345/0.001345, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8612/0.8612, allocations: 135.6 MB / 426.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 65.23 kB / 0.5858 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1569, allocations: 81.03 MB / 0.6649 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001793/0.1588, allocations: 0.6137 MB / 0.6655 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1606, allocations: 1.453 MB / 0.6669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.1607, allocations: 0 / 0.6669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1607, allocations: 3.938 kB / 0.6669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.744e-05/0.1608, allocations: 11.88 kB / 0.6669 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.1612, allocations: 119.5 kB / 0.6671 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.1613, allocations: 31.95 kB / 0.6671 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.1613, allocations: 4 kB / 0.6671 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.1614, allocations: 11.92 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1615, allocations: 23.86 kB / 0.6671 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1615, allocations: 0 / 0.6671 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.162, allocations: 323.3 kB / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.162, allocations: 0 / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.162, allocations: 23.86 kB / 0.6675 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.1624, allocations: 187.8 kB / 0.6676 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1624, allocations: 0 / 0.6676 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1624, allocations: 0 / 0.6676 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1624, allocations: 0 / 0.6676 GB, free: 2.77 MB / 0.4981 GB 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.0005498/0.1629, allocations: 377 kB / 0.668 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.163, allocations: 9.109 kB / 0.668 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.163, allocations: 38.73 kB / 0.668 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.1634, allocations: 68.75 kB / 0.6681 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.1636, allocations: 172.3 kB / 0.6683 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1636, allocations: 4.375 kB / 0.6683 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1636, allocations: 4.375 kB / 0.6683 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.1639, allocations: 77.77 kB / 0.6684 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1639, allocations: 0 / 0.6684 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1639, allocations: 0 / 0.6684 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.164, allocations: 0 / 0.6684 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.1643, allocations: 75.91 kB / 0.6684 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.1645, allocations: 177.6 kB / 0.6686 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.1651, allocations: 126.4 kB / 0.6687 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.1653, allocations: 40.95 kB / 0.6688 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1654, allocations: 7.984 kB / 0.6688 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1654, allocations: 38.5 kB / 0.6688 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1654, allocations: 0 / 0.6688 GB, free: 1.41 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.004169/0.1696, allocations: 0.7884 MB / 0.6696 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1696, allocations: 51.41 kB / 0.6696 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1697, allocations: 117.8 kB / 0.6697 GB, free: 440 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1698, allocations: 29.7 kB / 0.6698 GB, free: 404 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.1698, allocations: 80.14 kB / 0.6698 GB, free: 320 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1699, allocations: 35.69 kB / 0.6699 GB, free: 284 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.1699, allocations: 25.7 kB / 0.6699 GB, free: 252 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1701, allocations: 322.8 kB / 0.6702 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.1705, allocations: 91.91 kB / 0.6703 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.171, allocations: 99.89 kB / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/0.1718, allocations: 196.6 kB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1719, allocations: 3.938 kB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009371/0.1728, allocations: 237.4 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1728, allocations: 4 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1728, allocations: 4 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1729, allocations: 0 / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.1732, allocations: 55.94 kB / 0.6709 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1732, allocations: 4.375 kB / 0.6709 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1734, allocations: 31.95 kB / 0.6709 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1735, allocations: 11.98 kB / 0.6709 GB, free: 15.19 MB / 0.5137 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 9.3e-05/0.1736, allocations: 117.7 kB / 0.671 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.1736, allocations: 11.89 kB / 0.671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.1737, allocations: 8.375 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1737, allocations: 4 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1737, allocations: 0 / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1737, allocations: 0 / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.1754, allocations: 0.6052 MB / 0.6716 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1754, allocations: 4.75 kB / 0.6716 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.1757, allocations: 52 kB / 0.6717 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.1757, allocations: 4 kB / 0.6717 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1757, allocations: 0 / 0.6717 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1757, allocations: 4 kB / 0.6717 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.1758, allocations: 11.88 kB / 0.6717 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.1768, allocations: 344.9 kB / 0.672 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1769, allocations: 81.11 kB / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1769, allocations: 0 / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.1772, allocations: 39.95 kB / 0.6722 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.1772, allocations: 15.92 kB / 0.6722 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1773, allocations: 7.984 kB / 0.6722 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.1773, allocations: 87.28 kB / 0.6723 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.1773, allocations: 0 / 0.6723 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003207/0.1777, allocations: 47.86 kB / 0.6723 GB, free: 13.64 MB / 0.5137 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.001508/0.1792, allocations: 0.9012 MB / 0.6732 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.1801, allocations: 207.7 kB / 0.6734 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1801, allocations: 384 / 0.6734 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.1806, allocations: 108 kB / 0.6735 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1808, allocations: 17.5 kB / 0.6735 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.1858, allocations: 2.143 MB / 0.6756 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1861, allocations: 0.6885 MB / 0.6763 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.1863, allocations: 21.45 kB / 0.6763 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/0.1864, allocations: 27.41 kB / 0.6763 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/0.1864, allocations: 0 / 0.6763 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.2111, allocations: 2.731 MB / 0.679 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.429, allocations: 6.016 kB / 0.679 GB, free: 6.746 MB / 0.5137 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)