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.001839/0.001839, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002584/0.002584, allocations: 213.3 kB / 22.24 MB, free: 4.855 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.789 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.002666/0.002666, allocations: 291.2 kB / 312.7 MB, free: 2.582 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.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 14.68 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.00298/0.00298, allocations: 102 kB / 0.74 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1626, allocations: 95.38 MB / 0.8332 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00166/0.1643, allocations: 0.6348 MB / 0.8338 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1662, allocations: 1.441 MB / 0.8352 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.1663, allocations: 3.938 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.1663, allocations: 0 / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.1663, allocations: 7.922 kB / 0.8352 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.1668, allocations: 123.5 kB / 0.8353 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.1668, allocations: 23.92 kB / 0.8353 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.1669, allocations: 0 / 0.8353 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.1669, allocations: 27.78 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.167, allocations: 15.92 kB / 0.8354 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.167, allocations: 4 kB / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.1674, allocations: 247.5 kB / 0.8356 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.1674, allocations: 11.98 kB / 0.8356 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.1674, allocations: 3.938 kB / 0.8356 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.1677, allocations: 179.4 kB / 0.8358 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1677, allocations: 0 / 0.8358 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1677, allocations: 4 kB / 0.8358 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1677, allocations: 0 / 0.8358 GB, free: 5.008 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.000517/0.1682, allocations: 306.3 kB / 0.8361 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1683, allocations: 13.34 kB / 0.8361 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.1686, allocations: 64.75 kB / 0.8362 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.1688, allocations: 118.5 kB / 0.8363 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1688, allocations: 384 / 0.8363 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1688, allocations: 8.359 kB / 0.8363 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.1691, allocations: 73.97 kB / 0.8364 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1691, allocations: 11.94 kB / 0.8364 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1691, allocations: 0 / 0.8364 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1691, allocations: 0 / 0.8364 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.1694, allocations: 67.92 kB / 0.8365 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1696, allocations: 113.4 kB / 0.8366 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1701, allocations: 122.4 kB / 0.8367 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1703, allocations: 48.94 kB / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1703, allocations: 3.938 kB / 0.8367 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1704, allocations: 30.56 kB / 0.8368 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1704, allocations: 0 / 0.8368 GB, free: 3.938 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.003906/0.1743, allocations: 0.7879 MB / 0.8375 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1743, allocations: 51.41 kB / 0.8376 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1744, allocations: 117.8 kB / 0.8377 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1744, allocations: 29.7 kB / 0.8377 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.1745, allocations: 88.12 kB / 0.8378 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.1745, allocations: 27.75 kB / 0.8378 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.1746, allocations: 25.7 kB / 0.8379 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1747, allocations: 318.9 kB / 0.8382 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.1752, allocations: 103.8 kB / 0.8383 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.1756, allocations: 95.91 kB / 0.8383 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/0.1764, allocations: 192.6 kB / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1764, allocations: 4 kB / 0.8385 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009181/0.1773, allocations: 241.5 kB / 0.8388 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1774, allocations: 11.98 kB / 0.8388 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1774, allocations: 4 kB / 0.8388 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1774, allocations: 0 / 0.8388 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.1777, allocations: 51.94 kB / 0.8388 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1777, allocations: 0 / 0.8388 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.1779, allocations: 39.95 kB / 0.8389 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1779, allocations: 4 kB / 0.8389 GB, free: 1.711 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.777e-05/0.178, allocations: 110.5 kB / 0.839 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1781, allocations: 15.89 kB / 0.839 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.1781, allocations: 12.38 kB / 0.839 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1781, allocations: 7.984 kB / 0.839 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1781, allocations: 3.938 kB / 0.839 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1781, allocations: 3.984 kB / 0.839 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.1798, allocations: 0.5346 MB / 0.8395 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1798, allocations: 0 / 0.8395 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.1801, allocations: 55.94 kB / 0.8396 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1801, allocations: 288 / 0.8396 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1801, allocations: 7.938 kB / 0.8396 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1801, allocations: 4.062 kB / 0.8396 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1801, allocations: 7.875 kB / 0.8396 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/0.181, allocations: 340.9 kB / 0.8399 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.1811, allocations: 7.953 kB / 0.8399 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.1811, allocations: 7.984 kB / 0.84 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1813, allocations: 31.97 kB / 0.84 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.1814, allocations: 15.97 kB / 0.84 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1814, allocations: 4 kB / 0.84 GB, free: 484 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.352e-05/0.1815, allocations: 95.2 kB / 0.8401 GB, free: 388 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1815, allocations: 0 / 0.8401 GB, free: 388 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002951/0.1818, allocations: 35.88 kB / 0.8401 GB, free: 352 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.0002079/0.182, allocations: 131.1 kB / 0.8403 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009096/0.1829, allocations: 207.7 kB / 0.8405 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1829, allocations: 0 / 0.8405 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.1833, allocations: 108.7 kB / 0.8406 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1836, allocations: 14.88 kB / 0.8406 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.1851, allocations: 398.3 kB / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.96e-05/0.1852, allocations: 67.34 kB / 0.841 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.1853, allocations: 28.88 kB / 0.841 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.1853, allocations: 15.44 kB / 0.8411 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1853, allocations: 0 / 0.8411 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.004616/0.19, allocations: 1.793 MB / 0.8428 GB, free: 13.56 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: 6.11279128678143] Failed to read output from testmodel.py, exit status != 0: 0.1971568614244461 0.211789111 0.041188706000000005 Calling exit ...