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.00119/0.00119, allocations: 110 kB / 18.93 MB, free: 2.945 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.001231/0.001231, allocations: 190.1 kB / 22.23 MB, free: 5.156 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.323/1.323, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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.002436/0.002436, allocations: 285 kB / 306.6 MB, free: 8.312 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.175/1.175, allocations: 180.9 MB / 0.53 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 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: 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: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 104.9 kB / 0.7309 GB, free: 38.73 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1539, allocations: 94.19 MB / 0.8229 GB, free: 1.719 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001817/0.1557, allocations: 0.6576 MB / 0.8235 GB, free: 1.066 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001859/0.1575, allocations: 1.456 MB / 0.8249 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.1576, allocations: 0 / 0.8249 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.1576, allocations: 7.875 kB / 0.8249 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.1576, allocations: 11.98 kB / 0.825 GB, free: 15.57 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.158, allocations: 119.5 kB / 0.8251 GB, free: 15.46 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.1581, allocations: 27.92 kB / 0.8251 GB, free: 15.43 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.1581, allocations: 8 kB / 0.8251 GB, free: 15.42 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.1582, allocations: 19.92 kB / 0.8251 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.1582, allocations: 19.91 kB / 0.8251 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1582, allocations: 0 / 0.8251 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.1587, allocations: 319.4 kB / 0.8254 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.1587, allocations: 11.91 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.1587, allocations: 15.88 kB / 0.8255 GB, free: 15.04 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000302/0.159, allocations: 187.5 kB / 0.8256 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1591, allocations: 0 / 0.8256 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.042e-06/0.1591, allocations: 0 / 0.8256 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 8.405e-06/0.1591, allocations: 0 / 0.8256 GB, free: 14.86 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.0004996/0.1596, allocations: 309.8 kB / 0.8259 GB, free: 14.53 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1596, allocations: 8.031 kB / 0.826 GB, free: 14.52 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.16, allocations: 64.8 kB / 0.826 GB, free: 14.46 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1601, allocations: 118.4 kB / 0.8261 GB, free: 14.32 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1601, allocations: 4.375 kB / 0.8261 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1601, allocations: 4.375 kB / 0.8261 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.1604, allocations: 81.95 kB / 0.8262 GB, free: 14.22 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1605, allocations: 0 / 0.8262 GB, free: 14.22 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1605, allocations: 7.922 kB / 0.8262 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1605, allocations: 0 / 0.8262 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.1608, allocations: 71.92 kB / 0.8263 GB, free: 14.14 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.161, allocations: 148.6 kB / 0.8264 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.1616, allocations: 118.5 kB / 0.8265 GB, free: 13.83 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.1618, allocations: 48.92 kB / 0.8266 GB, free: 13.78 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1618, allocations: 0 / 0.8266 GB, free: 13.78 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1619, allocations: 42.44 kB / 0.8266 GB, free: 13.73 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1619, allocations: 0 / 0.8266 GB, free: 13.73 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.004099/0.166, allocations: 0.7799 MB / 0.8274 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.166, allocations: 59.41 kB / 0.8274 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1661, allocations: 113.8 kB / 0.8276 GB, free: 12.75 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1661, allocations: 25.7 kB / 0.8276 GB, free: 12.72 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.1662, allocations: 88.12 kB / 0.8277 GB, free: 12.63 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.1662, allocations: 27.75 kB / 0.8277 GB, free: 12.61 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.1663, allocations: 29.64 kB / 0.8277 GB, free: 12.57 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0002057/0.1665, allocations: 326.8 kB / 0.828 GB, free: 12.24 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.167, allocations: 95.89 kB / 0.8281 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.1674, allocations: 91.91 kB / 0.8282 GB, free: 12.06 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008426/0.1682, allocations: 196.7 kB / 0.8284 GB, free: 11.86 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1682, allocations: 0 / 0.8284 GB, free: 11.86 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009362/0.1692, allocations: 249.5 kB / 0.8286 GB, free: 11.61 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1692, allocations: 4 kB / 0.8286 GB, free: 11.61 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1692, allocations: 0 / 0.8286 GB, free: 11.61 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.1692, allocations: 4 kB / 0.8286 GB, free: 11.61 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.1695, allocations: 51.94 kB / 0.8287 GB, free: 11.55 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1695, allocations: 0 / 0.8287 GB, free: 11.55 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.1698, allocations: 48.64 kB / 0.8287 GB, free: 11.51 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1698, allocations: 4 kB / 0.8287 GB, free: 11.5 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.0001673/0.17, allocations: 118.4 kB / 0.8289 GB, free: 11.38 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.17, allocations: 7.953 kB / 0.8289 GB, free: 11.37 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.17, allocations: 8.375 kB / 0.8289 GB, free: 11.36 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.17, allocations: 7.984 kB / 0.8289 GB, free: 11.35 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.17, allocations: 0 / 0.8289 GB, free: 11.35 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.17, allocations: 4 kB / 0.8289 GB, free: 11.35 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.1718, allocations: 0.5656 MB / 0.8294 GB, free: 10.73 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1718, allocations: 0 / 0.8294 GB, free: 10.73 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.1721, allocations: 59.94 kB / 0.8295 GB, free: 10.67 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1721, allocations: 0 / 0.8295 GB, free: 10.67 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.1721, allocations: 8 kB / 0.8295 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1721, allocations: 0 / 0.8295 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1721, allocations: 8 kB / 0.8295 GB, free: 10.65 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.1731, allocations: 340.9 kB / 0.8298 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.1731, allocations: 7.953 kB / 0.8298 GB, free: 10.29 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1731, allocations: 4 kB / 0.8298 GB, free: 10.29 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.1734, allocations: 35.95 kB / 0.8299 GB, free: 10.25 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1734, allocations: 15.92 kB / 0.8299 GB, free: 10.23 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1734, allocations: 11.98 kB / 0.8299 GB, free: 10.22 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.703e-05/0.1735, allocations: 91.27 kB / 0.83 GB, free: 10.13 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.1735, allocations: 0 / 0.83 GB, free: 10.13 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002904/0.1738, allocations: 35.88 kB / 0.83 GB, free: 10.1 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.0002126/0.174, allocations: 131 kB / 0.8302 GB, free: 9.961 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.001022/0.175, allocations: 211.9 kB / 0.8304 GB, free: 9.754 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.175, allocations: 192 / 0.8304 GB, free: 9.754 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.1755, allocations: 100 kB / 0.8305 GB, free: 9.656 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1757, allocations: 7.938 kB / 0.8305 GB, free: 9.648 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1773, allocations: 406 kB / 0.8308 GB, free: 9.219 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1777, allocations: 0.6924 MB / 0.8315 GB, free: 8.5 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 9.554e-05/0.1778, allocations: 20.61 kB / 0.8315 GB, free: 8.48 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.1778, allocations: 19.42 kB / 0.8316 GB, free: 8.461 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.11e-07/0.1778, allocations: 0 / 0.8316 GB, free: 8.461 MB / 0.5762 GB
Notification: Performance of Templates: time 0.004601/0.1824, allocations: 1.713 MB / 0.8332 GB, free: 6.75 MB / 0.5762 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: 5.601390579715371]
Failed to read output from testmodel.py, exit status != 0:
0.18946632649749517 0.20392105000000002 0.041981436000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f12e59f17b0>