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.001846/0.001846, allocations: 122 kB / 17.84 MB, free: 5.254 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.002208/0.002208, allocations: 199.8 kB / 20.79 MB, free: 2.316 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.505/1.505, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.9657/0.9657, allocations: 150 MB / 460.2 MB, free: 5.262 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",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.002242/0.002242, allocations: 74.12 kB / 0.6369 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1636, allocations: 89.12 MB / 0.7239 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001763/0.1654, allocations: 0.6361 MB / 0.7245 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1675, allocations: 1.511 MB / 0.726 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.1675, allocations: 0 / 0.726 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.1676, allocations: 3.938 kB / 0.726 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.297e-05/0.1676, allocations: 3.938 kB / 0.726 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.168, allocations: 123.5 kB / 0.7261 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.1681, allocations: 23.92 kB / 0.7261 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1681, allocations: 7.984 kB / 0.7261 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.1682, allocations: 19.86 kB / 0.7262 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.1682, allocations: 27.84 kB / 0.7262 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1682, allocations: 0 / 0.7262 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.1687, allocations: 319.3 kB / 0.7265 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.1688, allocations: 7.984 kB / 0.7265 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1688, allocations: 7.938 kB / 0.7265 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1691, allocations: 191.7 kB / 0.7267 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1691, allocations: 0 / 0.7267 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1691, allocations: 4 kB / 0.7267 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1691, allocations: 4 kB / 0.7267 GB, free: 1.062 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.0005572/0.1696, allocations: 382.9 kB / 0.7271 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1697, allocations: 8.031 kB / 0.7271 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.1697, allocations: 192 / 0.7271 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.1697, allocations: 30.75 kB / 0.7271 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.1701, allocations: 60.86 kB / 0.7272 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1703, allocations: 188.2 kB / 0.7273 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1703, allocations: 384 / 0.7273 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1703, allocations: 8.375 kB / 0.7273 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.1706, allocations: 77.58 kB / 0.7274 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1706, allocations: 0 / 0.7274 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1706, allocations: 0 / 0.7274 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1706, allocations: 0 / 0.7274 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.171, allocations: 75.91 kB / 0.7275 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.1712, allocations: 165.7 kB / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.1718, allocations: 130.4 kB / 0.7278 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.172, allocations: 36.95 kB / 0.7278 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1721, allocations: 11.92 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1721, allocations: 30.56 kB / 0.7279 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1721, allocations: 0 / 0.7279 GB, free: 15.71 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.004454/0.1765, allocations: 0.7935 MB / 0.7286 GB, free: 14.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.1766, allocations: 55.41 kB / 0.7287 GB, free: 14.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1767, allocations: 109.8 kB / 0.7288 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1767, allocations: 33.7 kB / 0.7288 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.1768, allocations: 84.14 kB / 0.7289 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.1768, allocations: 31.73 kB / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.1769, allocations: 25.8 kB / 0.729 GB, free: 14.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.177, allocations: 318.8 kB / 0.7293 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.1775, allocations: 95.89 kB / 0.7293 GB, free: 14.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.178, allocations: 107.9 kB / 0.7295 GB, free: 14.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000904/0.1789, allocations: 192.6 kB / 0.7296 GB, free: 13.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1789, allocations: 0 / 0.7296 GB, free: 13.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001043/0.1799, allocations: 249.4 kB / 0.7299 GB, free: 13.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1799, allocations: 4 kB / 0.7299 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1799, allocations: 0 / 0.7299 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.18, allocations: 0 / 0.7299 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.1803, allocations: 55.94 kB / 0.7299 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1803, allocations: 0 / 0.7299 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.1805, allocations: 35.95 kB / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1805, allocations: 4 kB / 0.73 GB, free: 13.48 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.0001149/0.1807, allocations: 125.8 kB / 0.7301 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1807, allocations: 4 kB / 0.7301 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.1807, allocations: 8.375 kB / 0.7301 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1807, allocations: 0 / 0.7301 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1807, allocations: 0 / 0.7301 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1807, allocations: 0 / 0.7301 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.1826, allocations: 0.6013 MB / 0.7307 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1826, allocations: 0 / 0.7307 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.1829, allocations: 56.28 kB / 0.7307 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1829, allocations: 0 / 0.7307 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.1829, allocations: 12.73 kB / 0.7308 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1829, allocations: 3.938 kB / 0.7308 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1829, allocations: 3.938 kB / 0.7308 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.184, allocations: 344.9 kB / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.184, allocations: 89.06 kB / 0.7312 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.184, allocations: 0 / 0.7312 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1843, allocations: 39.95 kB / 0.7312 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1844, allocations: 15.86 kB / 0.7312 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1844, allocations: 8 kB / 0.7312 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.693e-05/0.1844, allocations: 95.27 kB / 0.7313 GB, free: 11.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1844, allocations: 0 / 0.7313 GB, free: 11.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003067/0.1847, allocations: 31.88 kB / 0.7314 GB, free: 11.94 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.001481/0.1862, allocations: 0.9013 MB / 0.7322 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.1872, allocations: 207.7 kB / 0.7324 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1872, allocations: 0 / 0.7324 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.1877, allocations: 99.95 kB / 0.7325 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.188, allocations: 13.34 kB / 0.7325 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.1931, allocations: 2.148 MB / 0.7346 GB, free: 8.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1935, allocations: 0.6854 MB / 0.7353 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.99e-05/0.1936, allocations: 25.38 kB / 0.7353 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.1937, allocations: 27.42 kB / 0.7354 GB, free: 7.695 MB / 0.545 GB Notification: Performance of SimCode: time 6.32e-07/0.1937, allocations: 4 kB / 0.7354 GB, free: 7.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.2181, allocations: 2.788 MB / 0.7381 GB, free: 5.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/8.67, allocations: 9.906 kB / 0.7381 GB, free: 5.039 MB / 0.545 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.591603865032084] Failed to read output from testmodel.py, exit status != 0: 8.79780609800946 8.818793707 8.645824704 Calling exit ...