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.001249/0.001249, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001384/0.001384, allocations: 221.4 kB / 23 MB, free: 4.914 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002474/0.002474, allocations: 282 kB / 313.5 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.165/1.165, allocations: 180.6 MB / 0.5377 GB, free: 14.66 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.002897/0.002897, allocations: 107.1 kB / 0.7408 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1626, allocations: 95.38 MB / 0.8339 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00213/0.1647, allocations: 0.6273 MB / 0.8345 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1668, allocations: 1.445 MB / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.1668, allocations: 0 / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.1668, allocations: 0 / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.1669, allocations: 11.92 kB / 0.8359 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1673, allocations: 127.5 kB / 0.8361 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.022e-05/0.1674, allocations: 19.98 kB / 0.8361 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.1674, allocations: 7.938 kB / 0.8361 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.1674, allocations: 11.92 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.1675, allocations: 23.92 kB / 0.8361 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1675, allocations: 0 / 0.8361 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.1679, allocations: 251.5 kB / 0.8364 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1679, allocations: 11.92 kB / 0.8364 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.1679, allocations: 7.938 kB / 0.8364 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.1682, allocations: 175.5 kB / 0.8366 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1682, allocations: 0 / 0.8366 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1682, allocations: 3.938 kB / 0.8366 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1682, allocations: 0 / 0.8366 GB, free: 5.043 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.0004916/0.1687, allocations: 313.8 kB / 0.8369 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1688, allocations: 9.344 kB / 0.8369 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.1691, allocations: 64.81 kB / 0.8369 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1692, allocations: 114.5 kB / 0.837 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1692, allocations: 384 / 0.837 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1693, allocations: 8.359 kB / 0.837 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.1695, allocations: 77.95 kB / 0.8371 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1695, allocations: 7.891 kB / 0.8371 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1696, allocations: 7.984 kB / 0.8371 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1696, allocations: 0 / 0.8371 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.1699, allocations: 71.86 kB / 0.8372 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1701, allocations: 117.4 kB / 0.8373 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.1706, allocations: 118.5 kB / 0.8374 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1708, allocations: 40.94 kB / 0.8375 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1708, allocations: 4 kB / 0.8375 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1708, allocations: 34.56 kB / 0.8375 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1708, allocations: 3.938 kB / 0.8375 GB, free: 3.961 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.003901/0.1747, allocations: 0.7828 MB / 0.8383 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1748, allocations: 55.41 kB / 0.8383 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1749, allocations: 113.8 kB / 0.8384 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1749, allocations: 25.7 kB / 0.8385 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.1749, allocations: 88.12 kB / 0.8385 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.175, allocations: 31.75 kB / 0.8386 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.175, allocations: 25.7 kB / 0.8386 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1752, allocations: 322.8 kB / 0.8389 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.1756, allocations: 91.91 kB / 0.839 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.176, allocations: 99.83 kB / 0.8391 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.1768, allocations: 196.7 kB / 0.8393 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1768, allocations: 0 / 0.8393 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000888/0.1777, allocations: 241.3 kB / 0.8395 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1777, allocations: 8.359 kB / 0.8395 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1777, allocations: 4 kB / 0.8395 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1777, allocations: 0 / 0.8395 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.178, allocations: 51.94 kB / 0.8396 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.178, allocations: 7.938 kB / 0.8396 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.1783, allocations: 35.95 kB / 0.8396 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.1783, allocations: 8 kB / 0.8396 GB, free: 1.738 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.273e-05/0.1784, allocations: 110.4 kB / 0.8397 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1784, allocations: 15.89 kB / 0.8397 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.1784, allocations: 8.375 kB / 0.8397 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1784, allocations: 4 kB / 0.8397 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1785, allocations: 7.922 kB / 0.8398 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1785, allocations: 4 kB / 0.8398 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.1801, allocations: 0.5307 MB / 0.8403 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1801, allocations: 0 / 0.8403 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1803, allocations: 56 kB / 0.8403 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1803, allocations: 0 / 0.8403 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1804, allocations: 4 kB / 0.8403 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1804, allocations: 3.938 kB / 0.8403 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1804, allocations: 4.75 kB / 0.8403 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009504/0.1813, allocations: 344.9 kB / 0.8407 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.1813, allocations: 7.953 kB / 0.8407 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.1814, allocations: 7.984 kB / 0.8407 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.1816, allocations: 31.97 kB / 0.8407 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.1816, allocations: 15.97 kB / 0.8407 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1816, allocations: 8 kB / 0.8407 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.544e-05/0.1817, allocations: 95.59 kB / 0.8408 GB, free: 424 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1817, allocations: 0 / 0.8408 GB, free: 424 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000284/0.182, allocations: 39.88 kB / 0.8409 GB, free: 384 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.0001979/0.1822, allocations: 123.1 kB / 0.841 GB, free: 252 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008948/0.1831, allocations: 212 kB / 0.8412 GB, free: 40 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1831, allocations: 0 / 0.8412 GB, free: 40 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.1835, allocations: 111.9 kB / 0.8413 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1838, allocations: 10.44 kB / 0.8413 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1853, allocations: 428.2 kB / 0.8417 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.568e-05/0.1854, allocations: 71.34 kB / 0.8418 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.1855, allocations: 27.36 kB / 0.8418 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.1855, allocations: 0 / 0.8418 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of Templates: time 0.003276/0.1887, allocations: 1.445 MB / 0.8432 GB, free: 13.91 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.974961856845766] Failed to read output from testmodel.py, exit status != 0: 0.19593239296227694 0.210687069 0.039516984000000005 Calling exit ...