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.001683/0.001683, allocations: 108.8 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.001713/0.001713, 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.611/1.611, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8758/0.8758, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 74.8 kB / 0.5736 GB, free: 27.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1655, allocations: 78.86 MB / 0.6506 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002232/0.1678, allocations: 0.6194 MB / 0.6512 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.1705, allocations: 1.464 MB / 0.6526 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.1705, allocations: 0 / 0.6526 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.1706, allocations: 3.938 kB / 0.6526 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.1707, allocations: 11.86 kB / 0.6526 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.1713, allocations: 123.5 kB / 0.6528 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.714e-05/0.1714, allocations: 19.98 kB / 0.6528 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.1715, allocations: 4 kB / 0.6528 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.1716, allocations: 19.91 kB / 0.6528 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.1717, allocations: 19.86 kB / 0.6528 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1717, allocations: 4 kB / 0.6528 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007353/0.1724, allocations: 323.3 kB / 0.6531 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.1725, allocations: 4 kB / 0.6531 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.1725, allocations: 15.86 kB / 0.6532 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.173, allocations: 187.8 kB / 0.6533 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.173, allocations: 0 / 0.6533 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.173, allocations: 0 / 0.6533 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.173, allocations: 0 / 0.6533 GB, free: 0.7344 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.0006705/0.1737, allocations: 382.9 kB / 0.6537 GB, free: 320 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.1738, allocations: 16.03 kB / 0.6537 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.1739, allocations: 30.75 kB / 0.6537 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/0.1744, allocations: 60.8 kB / 0.6538 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1747, allocations: 180.3 kB / 0.654 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.1747, allocations: 384 / 0.654 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1747, allocations: 4.375 kB / 0.654 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.1751, allocations: 73.72 kB / 0.6541 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1752, allocations: 0 / 0.6541 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1752, allocations: 8 kB / 0.6541 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1752, allocations: 4 kB / 0.6541 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.1757, allocations: 71.91 kB / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.176, allocations: 169.7 kB / 0.6543 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.1769, allocations: 126.4 kB / 0.6544 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.1771, allocations: 44.94 kB / 0.6545 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1772, allocations: 0 / 0.6545 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.1772, allocations: 34.5 kB / 0.6545 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.1772, allocations: 0 / 0.6545 GB, free: 15.38 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.006071/0.1833, allocations: 0.7963 MB / 0.6553 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1834, allocations: 55.41 kB / 0.6553 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1835, allocations: 109.8 kB / 0.6554 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.1836, allocations: 29.7 kB / 0.6555 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.1837, allocations: 88.12 kB / 0.6555 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.1837, allocations: 27.75 kB / 0.6556 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.1838, allocations: 25.7 kB / 0.6556 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.184, allocations: 318.8 kB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.1847, allocations: 95.91 kB / 0.656 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.1853, allocations: 99.89 kB / 0.6561 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1864, allocations: 192.6 kB / 0.6563 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.1864, allocations: 3.938 kB / 0.6563 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001353/0.1878, allocations: 245.4 kB / 0.6565 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1878, allocations: 4 kB / 0.6565 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1879, allocations: 3.984 kB / 0.6565 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1879, allocations: 0 / 0.6565 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.1883, allocations: 55.94 kB / 0.6566 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1883, allocations: 0 / 0.6566 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.1886, allocations: 36.72 kB / 0.6566 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.1887, allocations: 7.984 kB / 0.6566 GB, free: 13.16 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 0.0001193/0.1888, allocations: 121.7 kB / 0.6567 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1889, allocations: 4.375 kB / 0.6567 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.1889, allocations: 8.375 kB / 0.6567 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1889, allocations: 0 / 0.6567 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1889, allocations: 0 / 0.6567 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.189, allocations: 7.922 kB / 0.6567 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.1913, allocations: 0.6052 MB / 0.6573 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1913, allocations: 0 / 0.6573 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.1917, allocations: 56 kB / 0.6574 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1917, allocations: 3.984 kB / 0.6574 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.1918, allocations: 8 kB / 0.6574 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1918, allocations: 0 / 0.6574 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.1918, allocations: 7.875 kB / 0.6574 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.1933, allocations: 345 kB / 0.6577 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.1934, allocations: 85.06 kB / 0.6578 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1935, allocations: 3.984 kB / 0.6578 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.1939, allocations: 31.97 kB / 0.6578 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1939, allocations: 11.92 kB / 0.6579 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.194, allocations: 11.98 kB / 0.6579 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.599e-05/0.1941, allocations: 95.66 kB / 0.658 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1941, allocations: 4 kB / 0.658 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005085/0.1946, allocations: 35.86 kB / 0.658 GB, free: 11.61 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.001833/0.1964, allocations: 0.9013 MB / 0.6589 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.1979, allocations: 207.7 kB / 0.6591 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.198, allocations: 0 / 0.6591 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.1986, allocations: 112 kB / 0.6592 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1989, allocations: 13.66 kB / 0.6592 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.2061, allocations: 2.132 MB / 0.6613 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.2065, allocations: 0.6885 MB / 0.662 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.2067, allocations: 20.67 kB / 0.662 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.2068, allocations: 27.41 kB / 0.662 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of SimCode: time 4.6e-07/0.2068, allocations: 0 / 0.662 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.234, allocations: 2.736 MB / 0.6647 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.144, allocations: 8.141 kB / 0.6647 GB, free: 4.723 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)