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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 113.7 kB / 17.12 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 208 kB / 20.09 MB, free: 2.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.066/1.066, allocations: 150 MB / 459.5 MB, free: 5.324 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 81.89 kB / 0.6362 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1707, allocations: 89.13 MB / 0.7232 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002919/0.1736, allocations: 0.628 MB / 0.7238 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.1774, allocations: 1.515 MB / 0.7253 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.1775, allocations: 0 / 0.7253 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1775, allocations: 4 kB / 0.7253 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.1776, allocations: 7.922 kB / 0.7253 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.1784, allocations: 126.9 kB / 0.7254 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.1784, allocations: 23.92 kB / 0.7255 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.1785, allocations: 8 kB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.1786, allocations: 15.92 kB / 0.7255 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.1786, allocations: 23.84 kB / 0.7255 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1787, allocations: 4 kB / 0.7255 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009796/0.1796, allocations: 315.4 kB / 0.7258 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.1797, allocations: 3.984 kB / 0.7258 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.1797, allocations: 15.92 kB / 0.7258 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.1803, allocations: 191.7 kB / 0.726 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1803, allocations: 3.938 kB / 0.726 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1803, allocations: 0 / 0.726 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.1803, allocations: 0 / 0.726 GB, free: 1.102 MB / 0.5294 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.0008068/0.1811, allocations: 386.9 kB / 0.7264 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.1811, allocations: 12.03 kB / 0.7264 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.1812, allocations: 30.75 kB / 0.7264 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006233/0.1818, allocations: 60.86 kB / 0.7265 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1821, allocations: 184.2 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1821, allocations: 384 / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1821, allocations: 384 / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.1826, allocations: 81.77 kB / 0.7267 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1826, allocations: 0 / 0.7267 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1826, allocations: 0 / 0.7267 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1826, allocations: 4 kB / 0.7267 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.1833, allocations: 75.84 kB / 0.7268 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.1836, allocations: 165.7 kB / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009101/0.1845, allocations: 122.5 kB / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.1849, allocations: 40.94 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1849, allocations: 4 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.1849, allocations: 34.5 kB / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.1849, allocations: 4 kB / 0.7272 GB, free: 15.75 MB / 0.545 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.007298/0.1922, allocations: 0.788 MB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.1923, allocations: 55.41 kB / 0.728 GB, free: 14.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1925, allocations: 117.8 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1925, allocations: 25.7 kB / 0.7281 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.1926, allocations: 88.12 kB / 0.7282 GB, free: 14.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.1927, allocations: 27.75 kB / 0.7282 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1928, allocations: 29.7 kB / 0.7283 GB, free: 14.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.193, allocations: 322.8 kB / 0.7286 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008024/0.1938, allocations: 95.84 kB / 0.7287 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/0.1947, allocations: 95.89 kB / 0.7288 GB, free: 14.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.1963, allocations: 201.1 kB / 0.729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1963, allocations: 3.938 kB / 0.729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001828/0.1981, allocations: 241.4 kB / 0.7292 GB, free: 13.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.1981, allocations: 4 kB / 0.7292 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.1981, allocations: 3.984 kB / 0.7292 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.1982, allocations: 8 kB / 0.7292 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.1988, allocations: 47.94 kB / 0.7292 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1988, allocations: 4 kB / 0.7292 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.1992, allocations: 39.97 kB / 0.7293 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.1992, allocations: 7.984 kB / 0.7293 GB, free: 13.51 MB / 0.545 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.000187/0.1994, allocations: 117.7 kB / 0.7294 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.1995, allocations: 4 kB / 0.7294 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.1995, allocations: 12.38 kB / 0.7294 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1995, allocations: 4 kB / 0.7294 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1995, allocations: 0 / 0.7294 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.1995, allocations: 3.984 kB / 0.7294 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.2027, allocations: 0.5935 MB / 0.73 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2027, allocations: 0 / 0.73 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.2032, allocations: 55.88 kB / 0.7301 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2032, allocations: 0 / 0.7301 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.2032, allocations: 12.06 kB / 0.7301 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2032, allocations: 0 / 0.7301 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.2032, allocations: 7.938 kB / 0.7301 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.205, allocations: 341 kB / 0.7304 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.2051, allocations: 85.06 kB / 0.7305 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.2052, allocations: 7.922 kB / 0.7305 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.2056, allocations: 31.97 kB / 0.7305 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.2057, allocations: 15.92 kB / 0.7305 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.2057, allocations: 11.98 kB / 0.7306 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001011/0.2058, allocations: 87.47 kB / 0.7306 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2058, allocations: 0 / 0.7306 GB, free: 12.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00056/0.2064, allocations: 43.8 kB / 0.7307 GB, free: 11.98 MB / 0.545 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.002337/0.2087, allocations: 0.8935 MB / 0.7316 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.2104, allocations: 211.7 kB / 0.7318 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2104, allocations: 0 / 0.7318 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.2112, allocations: 104 kB / 0.7319 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.2116, allocations: 11.94 kB / 0.7319 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008503/0.2201, allocations: 2.131 MB / 0.7339 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.2206, allocations: 0.6932 MB / 0.7346 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.2208, allocations: 17.45 kB / 0.7346 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.2209, allocations: 27.41 kB / 0.7347 GB, free: 7.746 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/0.2209, allocations: 4 kB / 0.7347 GB, free: 7.742 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.2492, allocations: 2.76 MB / 0.7374 GB, free: 5.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.326, allocations: 0.625 kB / 0.7374 GB, free: 5.105 MB / 0.545 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.404087831964716] Failed to read output from testmodel.py, exit status != 0: 8.397539815865457 8.420902085 8.236235356 Calling exit ...