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.00132/0.00132, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001598/0.001598, allocations: 217.8 kB / 23 MB, free: 5.066 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.047 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 0.9974/0.9974, allocations: 150 MB / 463.2 MB, free: 10.48 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.002225/0.002225, allocations: 66.11 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1764, allocations: 89.17 MB / 0.7284 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002185/0.1785, allocations: 0.6467 MB / 0.729 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1807, allocations: 1.517 MB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1808, allocations: 0 / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.1808, allocations: 4 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.1809, allocations: 7.922 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.1814, allocations: 123.5 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.42e-05/0.1815, allocations: 27.91 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.1815, allocations: 0 / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.1815, allocations: 23.92 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.1816, allocations: 15.92 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1816, allocations: 4 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.1821, allocations: 319.3 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.1822, allocations: 7.938 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.1822, allocations: 15.86 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.1825, allocations: 183.8 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1825, allocations: 3.938 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1825, allocations: 0 / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.1825, allocations: 0 / 0.7312 GB, free: 14.35 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.0005425/0.1831, allocations: 313.8 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1831, allocations: 12.03 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.1831, allocations: 30.75 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.1835, allocations: 56.86 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1837, allocations: 126.5 kB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1837, allocations: 4.312 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1837, allocations: 4.375 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.184, allocations: 77.77 kB / 0.7318 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.184, allocations: 4 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.184, allocations: 4 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.184, allocations: 0 / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.1844, allocations: 71.86 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.1846, allocations: 144.7 kB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.1851, allocations: 118.5 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.1853, allocations: 44.94 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1853, allocations: 0 / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1853, allocations: 34.5 kB / 0.7322 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 2.825e-06/0.1853, allocations: 4 kB / 0.7322 GB, free: 13.19 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.004055/0.1894, allocations: 0.7857 MB / 0.733 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.1894, allocations: 51.41 kB / 0.733 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1895, allocations: 113.8 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1896, allocations: 25.7 kB / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.1896, allocations: 88.14 kB / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.1897, allocations: 31.73 kB / 0.7333 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.1897, allocations: 29.7 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1899, allocations: 314.8 kB / 0.7336 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.1903, allocations: 99.83 kB / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.1907, allocations: 99.84 kB / 0.7338 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/0.1915, allocations: 196.9 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1915, allocations: 3.938 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009115/0.1924, allocations: 241.4 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1924, allocations: 8 kB / 0.7342 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1924, allocations: 0 / 0.7342 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1924, allocations: 4 kB / 0.7342 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.1928, allocations: 51.94 kB / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1928, allocations: 0 / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.193, allocations: 39.95 kB / 0.7343 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.193, allocations: 7.984 kB / 0.7343 GB, free: 10.96 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.904e-05/0.1931, allocations: 117.7 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1932, allocations: 4 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.1932, allocations: 17.11 kB / 0.7345 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1932, allocations: 4 kB / 0.7345 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1932, allocations: 0 / 0.7345 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1932, allocations: 0 / 0.7345 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.1949, allocations: 0.573 MB / 0.735 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1949, allocations: 0 / 0.735 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.1952, allocations: 59.88 kB / 0.7351 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1952, allocations: 0 / 0.7351 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1952, allocations: 12.06 kB / 0.7351 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1952, allocations: 0 / 0.7351 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1952, allocations: 3.938 kB / 0.7351 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009257/0.1962, allocations: 341 kB / 0.7354 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.1962, allocations: 15.94 kB / 0.7354 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.1962, allocations: 0 / 0.7354 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.1964, allocations: 31.95 kB / 0.7355 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1965, allocations: 15.92 kB / 0.7355 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1965, allocations: 8 kB / 0.7355 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.1966, allocations: 91.27 kB / 0.7356 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1966, allocations: 192 / 0.7356 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003208/0.1969, allocations: 35.88 kB / 0.7356 GB, free: 9.559 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.001371/0.1983, allocations: 0.9089 MB / 0.7365 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008974/0.1992, allocations: 207.8 kB / 0.7367 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1992, allocations: 0 / 0.7367 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.1996, allocations: 99.95 kB / 0.7368 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.1998, allocations: 11.94 kB / 0.7368 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.2045, allocations: 2.139 MB / 0.7389 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.2048, allocations: 0.6846 MB / 0.7396 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.2049, allocations: 24.64 kB / 0.7396 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.205, allocations: 27.42 kB / 0.7396 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.205, allocations: 0 / 0.7396 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.2362, allocations: 2.878 MB / 0.7424 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.5, allocations: 5.188 kB / 0.7424 GB, free: 2.562 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.417064090026543] Failed to read output from testmodel.py, exit status != 0: 11.608409201959148 11.632638837 11.446119644 Calling exit ...