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.001582/0.001582, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001627/0.001627, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.013/1.013, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.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.002348/0.002348, allocations: 66.14 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1906, allocations: 89.17 MB / 0.7282 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001933/0.1925, allocations: 0.6286 MB / 0.7288 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1946, allocations: 1.427 MB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.1947, allocations: 0 / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.1947, allocations: 7.938 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.137e-05/0.1948, allocations: 7.922 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.1952, allocations: 130.3 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.1952, allocations: 23.92 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.1953, allocations: 0 / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.1953, allocations: 19.92 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.1954, allocations: 19.84 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1954, allocations: 4 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.1958, allocations: 247.5 kB / 0.7307 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.1958, allocations: 15.91 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1959, allocations: 7.938 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.1961, allocations: 175.8 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1961, allocations: 0 / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1961, allocations: 0 / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1962, allocations: 0 / 0.7308 GB, free: 14.25 MB / 0.5606 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.0005319/0.1967, allocations: 309.7 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1967, allocations: 16.03 kB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.1968, allocations: 34.75 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.1971, allocations: 52.86 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1973, allocations: 126.4 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1973, allocations: 384 / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1973, allocations: 8.375 kB / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.1976, allocations: 73.77 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1976, allocations: 4 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1976, allocations: 0 / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1976, allocations: 4 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.1979, allocations: 63.92 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.1981, allocations: 144.8 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.1987, allocations: 130.4 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.1989, allocations: 36.95 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1989, allocations: 0 / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1989, allocations: 38.5 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1989, allocations: 4 kB / 0.7318 GB, free: 13.09 MB / 0.5606 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.00408/0.203, allocations: 0.7856 MB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.203, allocations: 51.41 kB / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2031, allocations: 117.8 kB / 0.7328 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.2032, allocations: 29.7 kB / 0.7328 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.2032, allocations: 80.14 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.2033, allocations: 31.73 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.2033, allocations: 33.7 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2035, allocations: 314.8 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.2039, allocations: 95.89 kB / 0.7333 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.2043, allocations: 99.89 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/0.2052, allocations: 196.6 kB / 0.7336 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2052, allocations: 3.938 kB / 0.7336 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009271/0.2061, allocations: 241.4 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2061, allocations: 5.719 kB / 0.7339 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2061, allocations: 0 / 0.7339 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2062, allocations: 4 kB / 0.7339 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.2065, allocations: 55.88 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2065, allocations: 4 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.2067, allocations: 35.95 kB / 0.7339 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.2067, allocations: 4 kB / 0.734 GB, free: 10.87 MB / 0.5606 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.475e-05/0.2068, allocations: 114.2 kB / 0.7341 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.2068, allocations: 7.984 kB / 0.7341 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.2069, allocations: 8.375 kB / 0.7341 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2069, allocations: 4.75 kB / 0.7341 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2069, allocations: 3.938 kB / 0.7341 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2069, allocations: 0 / 0.7341 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.2086, allocations: 0.5652 MB / 0.7346 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2087, allocations: 4 kB / 0.7346 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.2089, allocations: 56.02 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.2089, allocations: 7.984 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2089, allocations: 0 / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2089, allocations: 4 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.209, allocations: 3.938 kB / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.21, allocations: 345 kB / 0.735 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.21, allocations: 7.953 kB / 0.735 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.21, allocations: 0 / 0.735 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.2103, allocations: 39.95 kB / 0.7351 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.2103, allocations: 23.84 kB / 0.7351 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2103, allocations: 7.984 kB / 0.7351 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.916e-05/0.2104, allocations: 91.66 kB / 0.7352 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2104, allocations: 0 / 0.7352 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003125/0.2107, allocations: 43.86 kB / 0.7352 GB, free: 9.461 MB / 0.5606 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.001475/0.2122, allocations: 0.8896 MB / 0.7361 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009472/0.2131, allocations: 203.7 kB / 0.7363 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2131, allocations: 0 / 0.7363 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.2136, allocations: 108 kB / 0.7364 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.2138, allocations: 20.25 kB / 0.7364 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.2188, allocations: 2.127 MB / 0.7385 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.2189, allocations: 75.33 kB / 0.7386 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.219, allocations: 16.67 kB / 0.7386 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.2191, allocations: 31.41 kB / 0.7386 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.2191, allocations: 0 / 0.7386 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.2515, allocations: 3.358 MB / 0.7419 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.47, allocations: 0.6562 kB / 0.7419 GB, free: 2.641 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.545403575990349] Failed to read output from testmodel.py, exit status != 0: 11.577421087771654 11.605920796 11.404540521 Calling exit ...