Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_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.007258/0.007258, allocations: 100.1 kB / 15.73 MB, free: 6.016 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.001545/0.001545, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7655/0.7655, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.25 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1396, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001755/0.1414, allocations: 0.6381 MB / 0.6599 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1433, allocations: 1.449 MB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.1433, allocations: 0 / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.1434, allocations: 4 kB / 0.6613 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.1435, allocations: 3.938 kB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1439, allocations: 123.5 kB / 0.6614 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.659e-05/0.144, allocations: 35.83 kB / 0.6614 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.1441, allocations: 4 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.1441, allocations: 15.94 kB / 0.6615 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.1442, allocations: 15.91 kB / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1442, allocations: 4 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.1446, allocations: 323.3 kB / 0.6618 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1447, allocations: 4 kB / 0.6618 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.1447, allocations: 23.8 kB / 0.6618 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.145, allocations: 183.8 kB / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.145, allocations: 0 / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.145, allocations: 0 / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.145, allocations: 0 / 0.662 GB, free: 7.891 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.0005052/0.1455, allocations: 386.9 kB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1456, allocations: 8.031 kB / 0.6624 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1456, allocations: 38.73 kB / 0.6624 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.146, allocations: 60.8 kB / 0.6625 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1461, allocations: 168.3 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1462, allocations: 12.31 kB / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1462, allocations: 384 / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1465, allocations: 73.77 kB / 0.6627 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1465, allocations: 0 / 0.6627 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1465, allocations: 4 kB / 0.6627 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1465, allocations: 3.938 kB / 0.6627 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.1469, allocations: 79.91 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.1471, allocations: 165.6 kB / 0.6629 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.1476, allocations: 126.5 kB / 0.6631 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1478, allocations: 44.95 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1479, allocations: 0 / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1479, allocations: 38.48 kB / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1479, allocations: 3.938 kB / 0.6631 GB, free: 6.531 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.004099/0.152, allocations: 0.7819 MB / 0.6639 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1521, allocations: 51.41 kB / 0.664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.1522, allocations: 113.8 kB / 0.6641 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1522, allocations: 25.7 kB / 0.6641 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.1522, allocations: 88.14 kB / 0.6642 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.1523, allocations: 31.73 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.1523, allocations: 25.7 kB / 0.6642 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1525, allocations: 322.8 kB / 0.6645 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.1529, allocations: 95.91 kB / 0.6646 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.1533, allocations: 95.89 kB / 0.6647 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008072/0.1541, allocations: 196.9 kB / 0.6649 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1541, allocations: 8.688 kB / 0.6649 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00088/0.155, allocations: 237.4 kB / 0.6651 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1551, allocations: 8 kB / 0.6651 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1551, allocations: 0 / 0.6651 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1551, allocations: 0 / 0.6651 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1554, allocations: 59.92 kB / 0.6652 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1554, allocations: 0 / 0.6652 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.1556, allocations: 39.95 kB / 0.6652 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1557, allocations: 15.92 kB / 0.6653 GB, free: 4.301 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 9.459e-05/0.1558, allocations: 113.8 kB / 0.6654 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1558, allocations: 0 / 0.6654 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.1558, allocations: 20.31 kB / 0.6654 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1559, allocations: 0 / 0.6654 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1559, allocations: 0 / 0.6654 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1559, allocations: 0 / 0.6654 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1575, allocations: 0.5935 MB / 0.666 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.1575, allocations: 7.984 kB / 0.666 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1578, allocations: 51.95 kB / 0.666 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.1578, allocations: 7.984 kB / 0.666 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1578, allocations: 0 / 0.666 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1578, allocations: 4 kB / 0.666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.1578, allocations: 3.938 kB / 0.666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.1588, allocations: 345 kB / 0.6664 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.1588, allocations: 77.11 kB / 0.6664 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1589, allocations: 8 kB / 0.6664 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.1591, allocations: 35.95 kB / 0.6665 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1592, allocations: 11.92 kB / 0.6665 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1592, allocations: 8.172 kB / 0.6665 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.1592, allocations: 91.28 kB / 0.6666 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1592, allocations: 3.938 kB / 0.6666 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002891/0.1595, allocations: 43.86 kB / 0.6666 GB, free: 2.77 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.001296/0.1608, allocations: 0.9051 MB / 0.6675 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009384/0.1618, allocations: 207.8 kB / 0.6677 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1618, allocations: 0 / 0.6677 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.1622, allocations: 112 kB / 0.6678 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.1625, allocations: 7.938 kB / 0.6678 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.1672, allocations: 2.128 MB / 0.6699 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1675, allocations: 0.6923 MB / 0.6706 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00011/0.1676, allocations: 24.66 kB / 0.6706 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.88e-05/0.1677, allocations: 27.42 kB / 0.6706 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.1677, allocations: 0 / 0.6706 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.1859, allocations: 2.737 MB / 0.6733 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.783, allocations: 9.906 kB / 0.6733 GB, free: 11.91 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)