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.001525/0.001525, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001403/0.001403, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002376/0.002376, allocations: 273 kB / 313.5 MB, free: 2.84 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.16/1.16, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") [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.002772/0.002772, allocations: 103.3 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1719, allocations: 95.39 MB / 0.834 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002049/0.1739, allocations: 0.6543 MB / 0.8346 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1761, allocations: 1.519 MB / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.1761, allocations: 0 / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.1762, allocations: 7.938 kB / 0.8361 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.1762, allocations: 7.984 kB / 0.8361 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.1768, allocations: 121.1 kB / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.1768, allocations: 23.92 kB / 0.8363 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.1769, allocations: 4 kB / 0.8363 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.1769, allocations: 19.92 kB / 0.8363 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.177, allocations: 23.91 kB / 0.8363 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.177, allocations: 0 / 0.8363 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.1775, allocations: 315.4 kB / 0.8366 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.1776, allocations: 15.86 kB / 0.8366 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.1776, allocations: 15.92 kB / 0.8366 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.1779, allocations: 183.5 kB / 0.8368 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1779, allocations: 4 kB / 0.8368 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1779, allocations: 0 / 0.8368 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1779, allocations: 0 / 0.8368 GB, free: 5.219 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.000542/0.1785, allocations: 313.7 kB / 0.8371 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1785, allocations: 9.344 kB / 0.8371 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.1789, allocations: 68.75 kB / 0.8372 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1791, allocations: 114.5 kB / 0.8373 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1791, allocations: 384 / 0.8373 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1791, allocations: 4.375 kB / 0.8373 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.1793, allocations: 81.89 kB / 0.8374 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1794, allocations: 3.953 kB / 0.8374 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1794, allocations: 3.984 kB / 0.8374 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1794, allocations: 0 / 0.8374 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.1797, allocations: 75.92 kB / 0.8375 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.18, allocations: 136.8 kB / 0.8376 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.1805, allocations: 118.5 kB / 0.8377 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1807, allocations: 44.94 kB / 0.8378 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1807, allocations: 0 / 0.8378 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1807, allocations: 42.44 kB / 0.8378 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.1807, allocations: 0 / 0.8378 GB, free: 4.102 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.003881/0.1846, allocations: 0.7747 MB / 0.8386 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1846, allocations: 55.41 kB / 0.8386 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1848, allocations: 113.8 kB / 0.8387 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1848, allocations: 29.64 kB / 0.8387 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.1848, allocations: 88.12 kB / 0.8388 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.1849, allocations: 31.73 kB / 0.8389 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.1849, allocations: 25.7 kB / 0.8389 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1851, allocations: 322.8 kB / 0.8392 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.1855, allocations: 99.89 kB / 0.8393 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.1858, allocations: 91.91 kB / 0.8394 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.1866, allocations: 196.9 kB / 0.8396 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1866, allocations: 4 kB / 0.8396 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008536/0.1874, allocations: 245.5 kB / 0.8398 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1875, allocations: 4 kB / 0.8398 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1875, allocations: 4 kB / 0.8398 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1875, allocations: 3.938 kB / 0.8398 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.1878, allocations: 59.88 kB / 0.8399 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1878, allocations: 0 / 0.8399 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.188, allocations: 39.95 kB / 0.8399 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.188, allocations: 4 kB / 0.8399 GB, free: 1.875 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 9.967e-05/0.1881, allocations: 114.4 kB / 0.84 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1881, allocations: 7.953 kB / 0.84 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.1882, allocations: 12.38 kB / 0.84 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1882, allocations: 3.984 kB / 0.84 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1882, allocations: 4 kB / 0.84 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1882, allocations: 7.984 kB / 0.8401 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.1898, allocations: 0.5614 MB / 0.8406 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1898, allocations: 4.062 kB / 0.8406 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.1901, allocations: 55.88 kB / 0.8407 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1901, allocations: 0 / 0.8407 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1901, allocations: 8 kB / 0.8407 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1901, allocations: 4 kB / 0.8407 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1901, allocations: 0 / 0.8407 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/0.191, allocations: 336.9 kB / 0.841 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.191, allocations: 11.95 kB / 0.841 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.191, allocations: 4 kB / 0.841 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.1913, allocations: 35.95 kB / 0.841 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.1913, allocations: 15.92 kB / 0.8411 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1913, allocations: 8.172 kB / 0.8411 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.1914, allocations: 91.66 kB / 0.8412 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1914, allocations: 3.938 kB / 0.8412 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003468/0.1917, allocations: 39.88 kB / 0.8412 GB, free: 480 kB / 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.0002997/0.192, allocations: 129.9 kB / 0.8413 GB, free: 344 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009071/0.1929, allocations: 215.7 kB / 0.8415 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.193, allocations: 0 / 0.8415 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.1934, allocations: 104.2 kB / 0.8416 GB, free: 24 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1936, allocations: 8 kB / 0.8416 GB, free: 16 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1952, allocations: 432.1 kB / 0.842 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1955, allocations: 0.6885 MB / 0.8427 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.1956, allocations: 19.42 kB / 0.8427 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/0.1956, allocations: 0 / 0.8427 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.003973/0.1996, allocations: 1.441 MB / 0.8441 GB, free: 13.38 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.893606350990012] Failed to read output from testmodel.py, exit status != 0: 0.20721166394650936 0.22341148099999994 0.042412721 Calling exit ...