Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001359/0.001359, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001579/0.001579, allocations: 216 kB / 22.26 MB, free: 5.113 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8609/0.8609, allocations: 134 MB / 446.4 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002813/0.002813, allocations: 66.17 kB / 0.6186 GB, free: 7.348 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1946, allocations: 85.91 MB / 0.7025 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002174/0.1968, allocations: 0.6382 MB / 0.7031 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1994, allocations: 1.513 MB / 0.7046 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.1994, allocations: 4 kB / 0.7046 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.1994, allocations: 7.875 kB / 0.7046 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.1995, allocations: 7.922 kB / 0.7046 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.2001, allocations: 123.5 kB / 0.7047 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.102e-05/0.2002, allocations: 23.92 kB / 0.7047 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.2003, allocations: 8 kB / 0.7048 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.2003, allocations: 15.92 kB / 0.7048 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.2004, allocations: 19.92 kB / 0.7048 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2004, allocations: 3.938 kB / 0.7048 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.2011, allocations: 319.4 kB / 0.7051 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2011, allocations: 11.92 kB / 0.7051 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.2011, allocations: 11.92 kB / 0.7051 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.2015, allocations: 183.7 kB / 0.7053 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.2015, allocations: 4 kB / 0.7053 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2015, allocations: 0 / 0.7053 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.2015, allocations: 4 kB / 0.7053 GB, free: 14.61 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.0005781/0.2021, allocations: 309.8 kB / 0.7056 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.2022, allocations: 8.031 kB / 0.7056 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.2022, allocations: 30.75 kB / 0.7056 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.2026, allocations: 64.81 kB / 0.7057 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.2028, allocations: 126.4 kB / 0.7058 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2028, allocations: 4.375 kB / 0.7058 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2028, allocations: 384 / 0.7058 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.2031, allocations: 77.77 kB / 0.7059 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2031, allocations: 0 / 0.7059 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2031, allocations: 4 kB / 0.7059 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.2031, allocations: 0 / 0.7059 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.2035, allocations: 71.92 kB / 0.706 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.2037, allocations: 140.8 kB / 0.7061 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.2042, allocations: 126.4 kB / 0.7062 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2044, allocations: 40.94 kB / 0.7063 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2044, allocations: 0 / 0.7063 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2044, allocations: 38.5 kB / 0.7063 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.2044, allocations: 4 kB / 0.7063 GB, free: 13.46 MB / 0.5294 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.004096/0.2085, allocations: 0.7849 MB / 0.7071 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.2086, allocations: 55.41 kB / 0.7071 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2087, allocations: 113.9 kB / 0.7072 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2087, allocations: 29.64 kB / 0.7073 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.2088, allocations: 84.14 kB / 0.7073 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.2089, allocations: 39.67 kB / 0.7074 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.2089, allocations: 25.7 kB / 0.7074 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2091, allocations: 318.8 kB / 0.7077 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.2095, allocations: 95.89 kB / 0.7078 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.2099, allocations: 92.66 kB / 0.7079 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008019/0.2107, allocations: 200.6 kB / 0.7081 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2107, allocations: 3.938 kB / 0.7081 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009051/0.2116, allocations: 241.4 kB / 0.7083 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2116, allocations: 4 kB / 0.7083 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2116, allocations: 4 kB / 0.7083 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2116, allocations: 4 kB / 0.7083 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.212, allocations: 51.94 kB / 0.7084 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.212, allocations: 0 / 0.7084 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.2122, allocations: 43.95 kB / 0.7084 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.2122, allocations: 4 kB / 0.7084 GB, free: 11.23 MB / 0.5294 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.0001098/0.2123, allocations: 113.8 kB / 0.7085 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.2123, allocations: 7.953 kB / 0.7085 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.2124, allocations: 16.36 kB / 0.7085 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2124, allocations: 4 kB / 0.7086 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2124, allocations: 288 / 0.7086 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2124, allocations: 3.984 kB / 0.7086 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.2141, allocations: 0.5653 MB / 0.7091 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2141, allocations: 3.938 kB / 0.7091 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.2144, allocations: 51.94 kB / 0.7092 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2144, allocations: 4.062 kB / 0.7092 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.2144, allocations: 8 kB / 0.7092 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2144, allocations: 0 / 0.7092 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2144, allocations: 7.938 kB / 0.7092 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009497/0.2153, allocations: 337 kB / 0.7095 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.2154, allocations: 11.95 kB / 0.7095 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.2154, allocations: 3.984 kB / 0.7095 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.2156, allocations: 39.95 kB / 0.7096 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.2157, allocations: 15.86 kB / 0.7096 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2157, allocations: 11.94 kB / 0.7096 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.2158, allocations: 91.66 kB / 0.7097 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2158, allocations: 0 / 0.7097 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000387/0.2162, allocations: 35.88 kB / 0.7097 GB, free: 9.824 MB / 0.5294 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.001491/0.2177, allocations: 0.8934 MB / 0.7106 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009303/0.2186, allocations: 215.7 kB / 0.7108 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2186, allocations: 0 / 0.7108 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.219, allocations: 104.2 kB / 0.7109 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.2193, allocations: 11.94 kB / 0.7109 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.2239, allocations: 2.142 MB / 0.713 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2243, allocations: 0.6922 MB / 0.7137 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.2244, allocations: 20.66 kB / 0.7137 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.2245, allocations: 27.42 kB / 0.7137 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.2245, allocations: 0 / 0.7137 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.2571, allocations: 2.887 MB / 0.7165 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.25, allocations: 0 / 0.7165 GB, free: 2.82 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.95712426607497] Failed to read output from testmodel.py, exit status != 0: 11.357149631017819 11.388486524 11.181358105 Calling exit ...