Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 109.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 288.9 kB / 303 MB, free: 9.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.263/1.263, allocations: 180.9 MB / 0.5261 GB, free: 14.65 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 102.6 kB / 0.7248 GB, free: 39.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1998, allocations: 94.16 MB / 0.8168 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001902/0.2017, allocations: 0.6405 MB / 0.8174 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2038, allocations: 1.454 MB / 0.8188 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.2038, allocations: 4 kB / 0.8188 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.2038, allocations: 0 / 0.8188 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2039, allocations: 11.92 kB / 0.8188 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2044, allocations: 119.5 kB / 0.8189 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.782e-05/0.2045, allocations: 35.84 kB / 0.819 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.2046, allocations: 4 kB / 0.819 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.2046, allocations: 15.92 kB / 0.819 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.2047, allocations: 19.92 kB / 0.819 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2047, allocations: 0 / 0.819 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.2053, allocations: 323.3 kB / 0.8193 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.2053, allocations: 0 / 0.8193 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.2053, allocations: 23.8 kB / 0.8193 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.2056, allocations: 183.8 kB / 0.8195 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2056, allocations: 4 kB / 0.8195 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2056, allocations: 0 / 0.8195 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.2056, allocations: 7.938 kB / 0.8195 GB, free: 2.508 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.0005873/0.2062, allocations: 382.9 kB / 0.8199 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2063, allocations: 8.031 kB / 0.8199 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.2063, allocations: 30.75 kB / 0.8199 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.2067, allocations: 60.86 kB / 0.82 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2068, allocations: 180.3 kB / 0.8202 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2068, allocations: 384 / 0.8202 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.2069, allocations: 4.375 kB / 0.8202 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.2071, allocations: 79.53 kB / 0.8202 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2071, allocations: 3.938 kB / 0.8203 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2072, allocations: 7.938 kB / 0.8203 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2072, allocations: 4 kB / 0.8203 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.2075, allocations: 75.91 kB / 0.8203 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.2077, allocations: 169.7 kB / 0.8205 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.2083, allocations: 122.5 kB / 0.8206 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2085, allocations: 40.94 kB / 0.8207 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.2085, allocations: 0 / 0.8207 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.2085, allocations: 42.44 kB / 0.8207 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.2085, allocations: 0 / 0.8207 GB, free: 1.152 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.003898/0.2124, allocations: 0.78 MB / 0.8215 GB, free: 376 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2125, allocations: 51.41 kB / 0.8215 GB, free: 312 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2126, allocations: 113.8 kB / 0.8216 GB, free: 188 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2126, allocations: 29.7 kB / 0.8216 GB, free: 152 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.2127, allocations: 88.12 kB / 0.8217 GB, free: 60 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.2127, allocations: 31.75 kB / 0.8218 GB, free: 28 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.2128, allocations: 29.64 kB / 0.8218 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2129, allocations: 318.8 kB / 0.8221 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.2133, allocations: 95.89 kB / 0.8222 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.2137, allocations: 95.91 kB / 0.8223 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007426/0.2145, allocations: 196.9 kB / 0.8225 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.2145, allocations: 3.938 kB / 0.8225 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008343/0.2153, allocations: 241.4 kB / 0.8227 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2153, allocations: 10.17 kB / 0.8227 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2154, allocations: 4 kB / 0.8227 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2154, allocations: 0 / 0.8227 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.2157, allocations: 51.94 kB / 0.8228 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2157, allocations: 0 / 0.8228 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.2159, allocations: 43.89 kB / 0.8228 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2159, allocations: 4 kB / 0.8228 GB, free: 14.93 MB / 0.5762 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.0001033/0.216, allocations: 113.8 kB / 0.8229 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.216, allocations: 15.95 kB / 0.8229 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.2161, allocations: 8.375 kB / 0.8229 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2161, allocations: 3.984 kB / 0.8229 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2161, allocations: 0.75 kB / 0.8229 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2161, allocations: 3.938 kB / 0.8229 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2177, allocations: 0.5936 MB / 0.8235 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2177, allocations: 0 / 0.8235 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.218, allocations: 55.88 kB / 0.8236 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.218, allocations: 4.062 kB / 0.8236 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.218, allocations: 12 kB / 0.8236 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.218, allocations: 0 / 0.8236 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.218, allocations: 7.922 kB / 0.8236 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.219, allocations: 341 kB / 0.8239 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.219, allocations: 81.25 kB / 0.824 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.219, allocations: 11.98 kB / 0.824 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.2193, allocations: 39.89 kB / 0.824 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.2193, allocations: 7.938 kB / 0.8241 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2194, allocations: 7.984 kB / 0.8241 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.89e-05/0.2194, allocations: 91.27 kB / 0.8242 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2194, allocations: 0 / 0.8242 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003251/0.2197, allocations: 39.88 kB / 0.8242 GB, free: 13.4 MB / 0.5762 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.00133/0.2211, allocations: 0.8973 MB / 0.8251 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008545/0.2219, allocations: 207.8 kB / 0.8253 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2219, allocations: 3.938 kB / 0.8253 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.2223, allocations: 104 kB / 0.8254 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.2226, allocations: 7.938 kB / 0.8254 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.2271, allocations: 2.151 MB / 0.8275 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.2274, allocations: 0.6885 MB / 0.8281 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.2275, allocations: 24.88 kB / 0.8282 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.2276, allocations: 27.42 kB / 0.8282 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.2276, allocations: 3.938 kB / 0.8282 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.2526, allocations: 2.76 MB / 0.8309 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.273, allocations: 4.562 kB / 0.8309 GB, free: 6.52 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.462074600160122] Failed to read output from testmodel.py, exit status != 0: 8.342183922883123 8.356921438 8.148498899 Calling exit ...