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.001477/0.001477, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001452/0.001452, allocations: 214.6 kB / 23.78 MB, free: 4.523 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.9754/0.9754, allocations: 150 MB / 464 MB, free: 10.25 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="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.002434/0.002434, allocations: 62.53 kB / 0.642 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2071, allocations: 89.17 MB / 0.7291 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002336/0.2095, allocations: 0.6254 MB / 0.7297 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.2116, allocations: 1.42 MB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.2117, allocations: 0 / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.2117, allocations: 3.938 kB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.2118, allocations: 11.92 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.2123, allocations: 131.5 kB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.2124, allocations: 23.92 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.2124, allocations: 0 / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.2125, allocations: 19.92 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.2126, allocations: 19.86 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.2126, allocations: 8 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.213, allocations: 263.5 kB / 0.7315 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.213, allocations: 7.984 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.2131, allocations: 7.938 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.2134, allocations: 183.7 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2134, allocations: 0 / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2134, allocations: 0 / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.2134, allocations: 0 / 0.7317 GB, free: 14.06 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.0005253/0.2139, allocations: 309.8 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.214, allocations: 16.03 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.285e-05/0.214, allocations: 192 / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.214, allocations: 30.75 kB / 0.7321 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.2144, allocations: 60.86 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.2146, allocations: 126.4 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2146, allocations: 384 / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.2146, allocations: 4.375 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.2149, allocations: 73.58 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2149, allocations: 0 / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2149, allocations: 8 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2149, allocations: 0 / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.2153, allocations: 67.92 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.2155, allocations: 140.8 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.2161, allocations: 130.4 kB / 0.7327 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2163, allocations: 40.89 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2163, allocations: 7.938 kB / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2163, allocations: 34.56 kB / 0.7327 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/0.2163, allocations: 0 / 0.7327 GB, free: 12.9 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.004443/0.2207, allocations: 0.7818 MB / 0.7335 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.2208, allocations: 55.41 kB / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2209, allocations: 113.8 kB / 0.7337 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.221, allocations: 25.7 kB / 0.7337 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.221, allocations: 84.14 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.2211, allocations: 35.73 kB / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.2212, allocations: 25.7 kB / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.2214, allocations: 318.8 kB / 0.7341 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.2218, allocations: 95.89 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.2223, allocations: 99.92 kB / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/0.2231, allocations: 200.6 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2231, allocations: 0 / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001001/0.2241, allocations: 241.4 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2242, allocations: 10.19 kB / 0.7347 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2242, allocations: 0 / 0.7347 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2242, allocations: 0 / 0.7347 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.2245, allocations: 55.94 kB / 0.7348 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2245, allocations: 320 / 0.7348 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.2248, allocations: 35.95 kB / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.2248, allocations: 8 kB / 0.7348 GB, free: 10.68 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 0.0001766/0.225, allocations: 113.8 kB / 0.735 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.225, allocations: 4 kB / 0.735 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.225, allocations: 16.36 kB / 0.735 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.225, allocations: 0 / 0.735 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.2251, allocations: 0 / 0.735 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2251, allocations: 4 kB / 0.735 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.2269, allocations: 0.5652 MB / 0.7355 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2269, allocations: 0.75 kB / 0.7355 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.2272, allocations: 56 kB / 0.7356 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2272, allocations: 3.938 kB / 0.7356 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.2272, allocations: 7.984 kB / 0.7356 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2272, allocations: 288 / 0.7356 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.2272, allocations: 7.938 kB / 0.7356 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2283, allocations: 348.9 kB / 0.7359 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.2283, allocations: 11.89 kB / 0.7359 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.2283, allocations: 4 kB / 0.7359 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.2286, allocations: 39.95 kB / 0.736 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.2286, allocations: 11.92 kB / 0.736 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2286, allocations: 7.984 kB / 0.736 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.2287, allocations: 87.28 kB / 0.7361 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2287, allocations: 0 / 0.7361 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003109/0.229, allocations: 43.86 kB / 0.7361 GB, free: 9.273 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.001424/0.2304, allocations: 0.8935 MB / 0.737 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009591/0.2314, allocations: 207.7 kB / 0.7372 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2314, allocations: 0 / 0.7372 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.2319, allocations: 111.9 kB / 0.7373 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2321, allocations: 11.94 kB / 0.7373 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.237, allocations: 2.132 MB / 0.7394 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.818e-05/0.237, allocations: 75.31 kB / 0.7395 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.2371, allocations: 20.98 kB / 0.7395 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.2372, allocations: 27.41 kB / 0.7395 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.2372, allocations: 4 kB / 0.7395 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.2617, allocations: 2.987 MB / 0.7424 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.7, allocations: 12.12 kB / 0.7425 GB, free: 2.82 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 os._exit(0), Time elapsed: 15.556821799022146] Failed to read output from testmodel.py, exit status != 0: 11.86716762301512 11.895959226 11.677071043 Calling exit ...