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.001294/0.001294, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001458/0.001458, allocations: 216.6 kB / 23 MB, free: 5.008 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 8 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.9527/0.9527, allocations: 150 MB / 463.2 MB, free: 10.51 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.003314/0.003314, allocations: 66.2 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.211, allocations: 89.17 MB / 0.7284 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001818/0.2128, allocations: 0.6374 MB / 0.729 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.215, allocations: 1.517 MB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.215, allocations: 0 / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.215, allocations: 3.938 kB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.2151, allocations: 7.922 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.2156, allocations: 131.5 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.2156, allocations: 23.98 kB / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.2157, allocations: 4 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.2157, allocations: 11.92 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.2158, allocations: 23.86 kB / 0.7307 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2158, allocations: 0 / 0.7307 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.2163, allocations: 319.4 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.2163, allocations: 11.92 kB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.2163, allocations: 7.938 kB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.2166, allocations: 187.8 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2166, allocations: 4 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2166, allocations: 0 / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2167, allocations: 3.938 kB / 0.7312 GB, free: 14.38 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.0005295/0.2172, allocations: 309.8 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2172, allocations: 8.031 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.2173, allocations: 30.75 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.2177, allocations: 64.86 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.2178, allocations: 122.4 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2178, allocations: 384 / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.2178, allocations: 4.375 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.2181, allocations: 81.77 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2181, allocations: 0 / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2181, allocations: 0 / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2181, allocations: 4 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.2185, allocations: 71.92 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.2187, allocations: 140.7 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.2193, allocations: 126.4 kB / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2195, allocations: 40.94 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2195, allocations: 7.984 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2195, allocations: 38.5 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.2195, allocations: 4 kB / 0.7322 GB, free: 13.21 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.004165/0.2237, allocations: 0.7889 MB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.2237, allocations: 51.41 kB / 0.733 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2238, allocations: 113.8 kB / 0.7331 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2239, allocations: 33.7 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.2239, allocations: 80.14 kB / 0.7332 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.224, allocations: 27.75 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.224, allocations: 25.7 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2242, allocations: 318.8 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.2246, allocations: 99.89 kB / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.225, allocations: 95.91 kB / 0.7338 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000798/0.2258, allocations: 192.6 kB / 0.734 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2258, allocations: 11.88 kB / 0.734 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000915/0.2268, allocations: 245.4 kB / 0.7342 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2268, allocations: 6.344 kB / 0.7342 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2268, allocations: 0 / 0.7342 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2268, allocations: 384 / 0.7342 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.2271, allocations: 55.94 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2271, allocations: 4 kB / 0.7343 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.2274, allocations: 35.95 kB / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2274, allocations: 3.938 kB / 0.7343 GB, free: 10.99 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.0001166/0.2275, allocations: 121.8 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.2275, allocations: 4 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.2276, allocations: 12.36 kB / 0.7345 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2276, allocations: 0 / 0.7345 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2276, allocations: 0.75 kB / 0.7345 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2276, allocations: 4 kB / 0.7345 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.2293, allocations: 0.5769 MB / 0.735 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2293, allocations: 0 / 0.735 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.2296, allocations: 56 kB / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.2296, allocations: 0 / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2296, allocations: 8 kB / 0.7351 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2296, allocations: 0 / 0.7351 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2296, allocations: 3.938 kB / 0.7351 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/0.2305, allocations: 345 kB / 0.7354 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.2305, allocations: 11.89 kB / 0.7354 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.2305, allocations: 3.984 kB / 0.7354 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.2308, allocations: 39.97 kB / 0.7355 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.2308, allocations: 15.91 kB / 0.7355 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2308, allocations: 4 kB / 0.7355 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.778e-05/0.2309, allocations: 91.66 kB / 0.7356 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2309, allocations: 0 / 0.7356 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002971/0.2312, allocations: 39.88 kB / 0.7356 GB, free: 9.582 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.001364/0.2326, allocations: 0.8936 MB / 0.7365 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008941/0.2335, allocations: 211.9 kB / 0.7367 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2335, allocations: 192 / 0.7367 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.2339, allocations: 111.9 kB / 0.7368 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.2341, allocations: 11.88 kB / 0.7368 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.2389, allocations: 2.144 MB / 0.7389 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.2392, allocations: 0.6846 MB / 0.7396 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.2393, allocations: 20.66 kB / 0.7396 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.2394, allocations: 27.42 kB / 0.7396 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of SimCode: time 5e-07/0.2394, allocations: 0 / 0.7396 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.2701, allocations: 2.867 MB / 0.7424 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.21, allocations: 8.859 kB / 0.7424 GB, free: 2.598 MB / 0.5606 GB " [Timeout remaining time 649] (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.208030999001494] Failed to read output from testmodel.py, exit status != 0: 11.322864571000537 11.349648544999999 11.127729894 Calling exit ...