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.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.001235/0.001235, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001389/0.001389, allocations: 215.5 kB / 22.25 MB, free: 5.242 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002823/0.002823, allocations: 293.8 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.21/1.21, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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: NcDataReader2 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: BuildingSystems 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.002851/0.002851, allocations: 102.9 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1853, allocations: 95.38 MB / 0.8327 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002011/0.1873, allocations: 0.6374 MB / 0.8333 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1895, allocations: 1.437 MB / 0.8347 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.1895, allocations: 0 / 0.8347 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1895, allocations: 0 / 0.8347 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.1896, allocations: 3.938 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.19, allocations: 127.5 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.1901, allocations: 27.86 kB / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1902, allocations: 7.984 kB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.1902, allocations: 8 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.1903, allocations: 31.83 kB / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1903, allocations: 4 kB / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.1907, allocations: 239.5 kB / 0.8351 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.1908, allocations: 7.984 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.1908, allocations: 15.86 kB / 0.8352 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.1912, allocations: 183.7 kB / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1912, allocations: 0 / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1912, allocations: 0 / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.1912, allocations: 0 / 0.8353 GB, free: 5.555 MB / 0.5762 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.000644/0.1918, allocations: 305.8 kB / 0.8356 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.1919, allocations: 13.34 kB / 0.8356 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.1919, allocations: 30.75 kB / 0.8357 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003991/0.1923, allocations: 64.81 kB / 0.8357 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1925, allocations: 118.5 kB / 0.8358 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1925, allocations: 384 / 0.8358 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1925, allocations: 4.375 kB / 0.8359 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.1928, allocations: 77.77 kB / 0.8359 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.1928, allocations: 7.953 kB / 0.8359 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1929, allocations: 0 / 0.8359 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1929, allocations: 4 kB / 0.8359 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.1932, allocations: 75.84 kB / 0.836 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.1935, allocations: 136.8 kB / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.194, allocations: 126.4 kB / 0.8363 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.1942, allocations: 36.95 kB / 0.8363 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1942, allocations: 0 / 0.8363 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.1942, allocations: 46.48 kB / 0.8363 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1942, allocations: 0 / 0.8363 GB, free: 4.398 MB / 0.5762 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.003967/0.1982, allocations: 0.774 MB / 0.8371 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.1983, allocations: 59.41 kB / 0.8372 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1984, allocations: 113.8 kB / 0.8373 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1984, allocations: 25.7 kB / 0.8373 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.1985, allocations: 84.14 kB / 0.8374 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.1985, allocations: 35.72 kB / 0.8374 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-05/0.1986, allocations: 29.7 kB / 0.8374 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1988, allocations: 326.8 kB / 0.8377 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.1992, allocations: 95.84 kB / 0.8378 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.1996, allocations: 95.89 kB / 0.8379 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008001/0.2004, allocations: 196.7 kB / 0.8381 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2004, allocations: 3.938 kB / 0.8381 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000891/0.2013, allocations: 241.6 kB / 0.8383 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2013, allocations: 8 kB / 0.8384 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2013, allocations: 0 / 0.8384 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2014, allocations: 0 / 0.8384 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.2017, allocations: 55.94 kB / 0.8384 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2017, allocations: 0 / 0.8384 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.2019, allocations: 39.95 kB / 0.8384 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2019, allocations: 7.984 kB / 0.8385 GB, free: 2.172 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.0001105/0.202, allocations: 122.4 kB / 0.8386 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.202, allocations: 3.953 kB / 0.8386 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.2021, allocations: 12.38 kB / 0.8386 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2021, allocations: 0.75 kB / 0.8386 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2021, allocations: 0 / 0.8386 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2021, allocations: 0 / 0.8386 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.2038, allocations: 0.5614 MB / 0.8391 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2038, allocations: 0 / 0.8391 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.2041, allocations: 63.94 kB / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2041, allocations: 0 / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2041, allocations: 4 kB / 0.8392 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2041, allocations: 0 / 0.8392 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2041, allocations: 3.938 kB / 0.8392 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/0.2051, allocations: 341 kB / 0.8395 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.2051, allocations: 11.95 kB / 0.8395 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.2051, allocations: 7.984 kB / 0.8395 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.2054, allocations: 35.97 kB / 0.8396 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.2054, allocations: 15.91 kB / 0.8396 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2054, allocations: 4 kB / 0.8396 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.375e-05/0.2055, allocations: 91.27 kB / 0.8397 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2055, allocations: 3.938 kB / 0.8397 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003/0.2058, allocations: 39.88 kB / 0.8397 GB, free: 0.7734 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.001486/0.2073, allocations: 0.9014 MB / 0.8406 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000923/0.2082, allocations: 203.8 kB / 0.8408 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2082, allocations: 0 / 0.8408 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.2086, allocations: 108 kB / 0.8409 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2089, allocations: 15.94 kB / 0.8409 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.2137, allocations: 2.123 MB / 0.843 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.153e-05/0.2137, allocations: 71.34 kB / 0.8431 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.2138, allocations: 20.66 kB / 0.8431 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.2139, allocations: 27.42 kB / 0.8431 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.2139, allocations: 0 / 0.8431 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.2454, allocations: 3.388 MB / 0.8464 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.13, allocations: 7.125 kB / 0.8464 GB, free: 9.926 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.214791527017951] Failed to read output from testmodel.py, exit status != 0: 11.239976567681879 11.264705406 11.069032713 Calling exit ...