Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_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.001542/0.001542, allocations: 113.1 kB / 16.41 MB, free: 6.5 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.001842/0.001842, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7591/0.7591, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 69.81 kB / 0.568 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1583, allocations: 77.93 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001826/0.1602, allocations: 0.6259 MB / 0.6447 GB, free: 8.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.1621, allocations: 1.455 MB / 0.6461 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.1622, allocations: 4 kB / 0.6461 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.1622, allocations: 3.938 kB / 0.6461 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.371e-05/0.1623, allocations: 7.922 kB / 0.6462 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1628, allocations: 119.5 kB / 0.6463 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.1629, allocations: 27.92 kB / 0.6463 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.163, allocations: 7.984 kB / 0.6463 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.163, allocations: 15.88 kB / 0.6463 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.1631, allocations: 23.89 kB / 0.6463 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1631, allocations: 4 kB / 0.6463 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.1636, allocations: 311.4 kB / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.1637, allocations: 7.969 kB / 0.6466 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1637, allocations: 15.88 kB / 0.6467 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.164, allocations: 187.8 kB / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1641, allocations: 0 / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1641, allocations: 0 / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1641, allocations: 0 / 0.6468 GB, free: 6.684 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.0005401/0.1646, allocations: 386.9 kB / 0.6472 GB, free: 6.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1647, allocations: 12.62 kB / 0.6472 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.1647, allocations: 38.69 kB / 0.6473 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.1651, allocations: 56.86 kB / 0.6473 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1653, allocations: 176.3 kB / 0.6475 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1653, allocations: 4.312 kB / 0.6475 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1653, allocations: 384 / 0.6475 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.1656, allocations: 81.77 kB / 0.6476 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1657, allocations: 0 / 0.6476 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1657, allocations: 0 / 0.6476 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1657, allocations: 4 kB / 0.6476 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.166, allocations: 67.92 kB / 0.6476 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.1662, allocations: 169.7 kB / 0.6478 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.1668, allocations: 126.4 kB / 0.6479 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.167, allocations: 48.88 kB / 0.648 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.167, allocations: 0 / 0.648 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.167, allocations: 38.5 kB / 0.648 GB, free: 5.328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.167, allocations: 4 kB / 0.648 GB, free: 5.324 MB / 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.004122/0.1712, allocations: 0.7862 MB / 0.6488 GB, free: 4.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1712, allocations: 51.41 kB / 0.6488 GB, free: 4.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.1713, allocations: 113.8 kB / 0.6489 GB, free: 4.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1714, allocations: 33.7 kB / 0.649 GB, free: 4.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.1714, allocations: 80.14 kB / 0.649 GB, free: 4.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.1715, allocations: 35.72 kB / 0.6491 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.1715, allocations: 33.7 kB / 0.6491 GB, free: 4.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1716, allocations: 310.8 kB / 0.6494 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/0.1721, allocations: 95.89 kB / 0.6495 GB, free: 3.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.1725, allocations: 99.84 kB / 0.6496 GB, free: 3.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.1733, allocations: 192.9 kB / 0.6498 GB, free: 3.457 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1733, allocations: 3.938 kB / 0.6498 GB, free: 3.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009186/0.1743, allocations: 253.7 kB / 0.65 GB, free: 3.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1743, allocations: 5.5 kB / 0.65 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1743, allocations: 3.938 kB / 0.65 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1743, allocations: 4 kB / 0.65 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.1747, allocations: 51.94 kB / 0.6501 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1747, allocations: 0 / 0.6501 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.1749, allocations: 35.95 kB / 0.6501 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1749, allocations: 4 kB / 0.6501 GB, free: 3.098 MB / 494.1 MB 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.567e-05/0.175, allocations: 117.8 kB / 0.6502 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1751, allocations: 7.953 kB / 0.6502 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.1751, allocations: 24.23 kB / 0.6503 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1751, allocations: 0 / 0.6503 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1751, allocations: 0 / 0.6503 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1751, allocations: 0 / 0.6503 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.1768, allocations: 0.5978 MB / 0.6508 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1768, allocations: 0 / 0.6508 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.1771, allocations: 51.94 kB / 0.6509 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.1771, allocations: 3.984 kB / 0.6509 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1771, allocations: 12.05 kB / 0.6509 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1771, allocations: 4.016 kB / 0.6509 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1771, allocations: 7.922 kB / 0.6509 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.1781, allocations: 341 kB / 0.6512 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.1781, allocations: 89.05 kB / 0.6513 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1782, allocations: 0 / 0.6513 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.1784, allocations: 35.95 kB / 0.6514 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.1785, allocations: 15.92 kB / 0.6514 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1785, allocations: 4 kB / 0.6514 GB, free: 1.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.1786, allocations: 91.27 kB / 0.6515 GB, free: 1.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1786, allocations: 4 kB / 0.6515 GB, free: 1.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1789, allocations: 35.88 kB / 0.6515 GB, free: 1.555 MB / 494.1 MB 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.001288/0.1802, allocations: 0.9004 MB / 0.6524 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000933/0.1811, allocations: 215.7 kB / 0.6526 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1811, allocations: 0 / 0.6526 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.1816, allocations: 108 kB / 0.6527 GB, free: 316 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.1818, allocations: 11.94 kB / 0.6527 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.1864, allocations: 2.131 MB / 0.6548 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1866, allocations: 0.6923 MB / 0.6555 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.1868, allocations: 20.66 kB / 0.6555 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.1869, allocations: 23.42 kB / 0.6555 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1869, allocations: 0 / 0.6555 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.2059, allocations: 2.739 MB / 0.6582 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/7.961, allocations: 12.77 kB / 0.6582 GB, free: 10.66 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)