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.008426/0.008425, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001788/0.001789, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8026/0.8026, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.5 kB / 0.5852 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1405, allocations: 80.93 MB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001622/0.1421, allocations: 0.6231 MB / 0.6648 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.1442, allocations: 1.457 MB / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.1443, allocations: 0 / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.1443, allocations: 0 / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1444, allocations: 3.938 kB / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.1452, allocations: 127.5 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1453, allocations: 31.84 kB / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.1454, allocations: 4 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.1454, allocations: 11.94 kB / 0.6664 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.1455, allocations: 27.89 kB / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1455, allocations: 0 / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005657/0.1461, allocations: 319.3 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.1461, allocations: 3.984 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.1462, allocations: 23.84 kB / 0.6668 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.1466, allocations: 183.8 kB / 0.6669 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1466, allocations: 11.94 kB / 0.667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.205e-06/0.1466, allocations: 0 / 0.667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.1466, allocations: 0 / 0.667 GB, free: 3.422 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.0006598/0.1473, allocations: 375 kB / 0.6673 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1473, allocations: 9.109 kB / 0.6673 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.1474, allocations: 30.75 kB / 0.6674 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.1478, allocations: 64.81 kB / 0.6674 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.148, allocations: 180.3 kB / 0.6676 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1481, allocations: 384 / 0.6676 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.1481, allocations: 8.312 kB / 0.6676 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1484, allocations: 77.77 kB / 0.6677 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1484, allocations: 0 / 0.6677 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1484, allocations: 4 kB / 0.6677 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1484, allocations: 0 / 0.6677 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.1488, allocations: 75.84 kB / 0.6677 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.149, allocations: 169.7 kB / 0.6679 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.1496, allocations: 126.5 kB / 0.668 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1498, allocations: 36.95 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1498, allocations: 4 kB / 0.6681 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1499, allocations: 38.5 kB / 0.6681 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1499, allocations: 0 / 0.6681 GB, free: 2.078 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.004213/0.1541, allocations: 0.7848 MB / 0.6689 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.1541, allocations: 55.41 kB / 0.6689 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1543, allocations: 109.8 kB / 0.669 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1543, allocations: 25.7 kB / 0.6691 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.1543, allocations: 88.14 kB / 0.6691 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.1544, allocations: 39.67 kB / 0.6692 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.1545, allocations: 25.7 kB / 0.6692 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1546, allocations: 318.8 kB / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.155, allocations: 100 kB / 0.6696 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.1555, allocations: 103.9 kB / 0.6697 GB, free: 404 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.1563, allocations: 192.7 kB / 0.6699 GB, free: 208 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1563, allocations: 3.938 kB / 0.6699 GB, free: 204 kB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009145/0.1573, allocations: 241.4 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1573, allocations: 5.875 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.1573, allocations: 0 / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1573, allocations: 4 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.1576, allocations: 47.94 kB / 0.6702 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1577, allocations: 8 kB / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.1579, allocations: 35.95 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1579, allocations: 4 kB / 0.6702 GB, free: 15.86 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 0.0001045/0.158, allocations: 125.7 kB / 0.6703 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.1581, allocations: 7.953 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.244e-05/0.1581, allocations: 8.375 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1581, allocations: 7.938 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1581, allocations: 0 / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1582, allocations: 0 / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.1599, allocations: 0.5935 MB / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1599, allocations: 0 / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.1602, allocations: 59.94 kB / 0.671 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1602, allocations: 0 / 0.671 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1602, allocations: 11.98 kB / 0.671 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1602, allocations: 0 / 0.671 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1602, allocations: 8.219 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.1612, allocations: 344.9 kB / 0.6713 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.1612, allocations: 81.11 kB / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1612, allocations: 0 / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.1615, allocations: 39.95 kB / 0.6715 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1616, allocations: 11.92 kB / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1616, allocations: 8 kB / 0.6715 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.1616, allocations: 95.64 kB / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1616, allocations: 0 / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003106/0.162, allocations: 39.86 kB / 0.6716 GB, free: 14.32 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.00137/0.1633, allocations: 0.9025 MB / 0.6725 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009505/0.1643, allocations: 211.7 kB / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1643, allocations: 0 / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.1648, allocations: 108 kB / 0.6728 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.165, allocations: 11.92 kB / 0.6728 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.1696, allocations: 2.14 MB / 0.6749 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1699, allocations: 0.6846 MB / 0.6756 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.17, allocations: 28.91 kB / 0.6756 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.1701, allocations: 23.42 kB / 0.6756 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.1701, allocations: 4 kB / 0.6756 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.192, allocations: 2.732 MB / 0.6783 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/7.889, allocations: 12.2 kB / 0.6783 GB, free: 7.41 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)