Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.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.001293/0.001293, 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.001467/0.001467, allocations: 192.4 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.367/1.367, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9129/0.9129, allocations: 145 MB / 451.3 MB, free: 5.438 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 68.02 kB / 0.6253 GB, free: 15.48 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1819, allocations: 86.71 MB / 0.71 GB, free: 8.777 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002801/0.1847, allocations: 1.451 MB / 0.7114 GB, free: 7.316 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0003309/0.185, allocations: 96.58 kB / 0.7115 GB, free: 7.219 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.1851, allocations: 4 kB / 0.7115 GB, free: 7.215 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 5.984e-05/0.1851, allocations: 7.938 kB / 0.7115 GB, free: 7.207 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 3.245e-05/0.1852, allocations: 0 / 0.7115 GB, free: 7.207 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1854, allocations: 19.91 kB / 0.7115 GB, free: 7.188 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.1855, allocations: 31.86 kB / 0.7116 GB, free: 7.156 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.1856, allocations: 0 / 0.7116 GB, free: 7.156 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.1856, allocations: 8 kB / 0.7116 GB, free: 7.148 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.1856, allocations: 15.92 kB / 0.7116 GB, free: 7.133 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1856, allocations: 4 kB / 0.7116 GB, free: 7.129 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.1857, allocations: 19.97 kB / 0.7116 GB, free: 7.109 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.1858, allocations: 11.98 kB / 0.7116 GB, free: 7.098 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.1858, allocations: 15.92 kB / 0.7116 GB, free: 7.082 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1859, allocations: 39.83 kB / 0.7117 GB, free: 7.043 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1859, allocations: 0 / 0.7117 GB, free: 7.043 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.122e-06/0.1859, allocations: 0 / 0.7117 GB, free: 7.043 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.718e-06/0.1859, allocations: 0 / 0.7117 GB, free: 7.043 MB / 0.5294 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0004205/0.1864, allocations: 266.3 kB / 0.7119 GB, free: 6.75 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1864, allocations: 8.031 kB / 0.7119 GB, free: 6.742 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1864, allocations: 8.891 kB / 0.712 GB, free: 6.734 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1865, allocations: 110.5 kB / 0.7121 GB, free: 6.602 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1865, allocations: 4.375 kB / 0.7121 GB, free: 6.598 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.1865, allocations: 384 / 0.7121 GB, free: 6.598 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1867, allocations: 50.23 kB / 0.7121 GB, free: 6.543 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1867, allocations: 192 / 0.7121 GB, free: 6.543 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1867, allocations: 7.875 kB / 0.7121 GB, free: 6.535 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1868, allocations: 4 kB / 0.7121 GB, free: 6.531 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.1869, allocations: 35.95 kB / 0.7122 GB, free: 6.496 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.1872, allocations: 228 kB / 0.7124 GB, free: 6.23 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1874, allocations: 46.44 kB / 0.7124 GB, free: 6.176 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.1875, allocations: 20.91 kB / 0.7124 GB, free: 6.152 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.1875, allocations: 7.984 kB / 0.7124 GB, free: 6.145 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.1875, allocations: 34.56 kB / 0.7125 GB, free: 6.102 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1875, allocations: 3.938 kB / 0.7125 GB, free: 6.098 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=2): time 0.0003563/0.1879, allocations: 93.53 kB / 0.7126 GB, free: 6 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1879, allocations: 51.41 kB / 0.7126 GB, free: 5.938 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.188, allocations: 109.8 kB / 0.7127 GB, free: 5.82 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.188, allocations: 25.7 kB / 0.7128 GB, free: 5.789 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.1881, allocations: 96.2 kB / 0.7128 GB, free: 5.691 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1881, allocations: 3.953 kB / 0.7128 GB, free: 5.688 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.1882, allocations: 13.72 kB / 0.7129 GB, free: 5.668 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001498/0.1883, allocations: 318.8 kB / 0.7132 GB, free: 5.348 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.1884, allocations: 15.98 kB / 0.7132 GB, free: 5.332 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.1885, allocations: 15.98 kB / 0.7132 GB, free: 5.316 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1886, allocations: 48.88 kB / 0.7132 GB, free: 5.266 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1886, allocations: 0 / 0.7132 GB, free: 5.266 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.1888, allocations: 73.53 kB / 0.7133 GB, free: 5.188 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1888, allocations: 4 kB / 0.7133 GB, free: 5.184 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1888, allocations: 4 kB / 0.7133 GB, free: 5.18 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1889, allocations: 0 / 0.7133 GB, free: 5.18 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.189, allocations: 8.031 kB / 0.7133 GB, free: 5.172 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.189, allocations: 3.984 kB / 0.7133 GB, free: 5.168 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.189, allocations: 8.234 kB / 0.7133 GB, free: 5.16 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.189, allocations: 0 / 0.7133 GB, free: 5.16 MB / 0.5294 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 (2):
 * Single equations (assignments): 2
 * 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 8.268e-05/0.1891, allocations: 121.8 kB / 0.7135 GB, free: 5.031 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1891, allocations: 7.953 kB / 0.7135 GB, free: 5.023 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1894, allocations: 85.27 kB / 0.7135 GB, free: 4.93 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1894, allocations: 0 / 0.7135 GB, free: 4.93 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1894, allocations: 0 / 0.7135 GB, free: 4.93 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1894, allocations: 7.922 kB / 0.7136 GB, free: 4.922 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1895, allocations: 136.7 kB / 0.7137 GB, free: 4.746 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1895, allocations: 3.938 kB / 0.7137 GB, free: 4.742 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1896, allocations: 4 kB / 0.7137 GB, free: 4.738 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1896, allocations: 4 kB / 0.7137 GB, free: 4.734 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1896, allocations: 0 / 0.7137 GB, free: 4.734 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1896, allocations: 0 / 0.7137 GB, free: 4.734 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1896, allocations: 3.984 kB / 0.7137 GB, free: 4.73 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1899, allocations: 171.5 kB / 0.7139 GB, free: 4.547 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.1899, allocations: 0 / 0.7139 GB, free: 4.547 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1899, allocations: 0 / 0.7139 GB, free: 4.547 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.19, allocations: 4 kB / 0.7139 GB, free: 4.543 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.19, allocations: 3.984 kB / 0.7139 GB, free: 4.539 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.19, allocations: 8.031 kB / 0.7139 GB, free: 4.531 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 5.86e-05/0.1901, allocations: 83.28 kB / 0.714 GB, free: 4.449 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 8e-08/0.1901, allocations: 0 / 0.714 GB, free: 4.449 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002151/0.1903, allocations: 15.89 kB / 0.714 GB, free: 4.434 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (2):
 * Single equations (assignments): 2
 * 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.0001471/0.1904, allocations: 107.1 kB / 0.7141 GB, free: 4.32 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.000227/0.1907, allocations: 43.95 kB / 0.7141 GB, free: 4.277 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1907, allocations: 4.062 kB / 0.7141 GB, free: 4.273 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.1907, allocations: 15.98 kB / 0.7141 GB, free: 4.258 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.191, allocations: 11.94 kB / 0.7141 GB, free: 4.246 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.1913, allocations: 109.5 kB / 0.7142 GB, free: 4.113 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1916, allocations: 0.6768 MB / 0.7149 GB, free: 3.41 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 2.049e-05/0.1916, allocations: 3.938 kB / 0.7149 GB, free: 3.406 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.1916, allocations: 15.5 kB / 0.7149 GB, free: 3.391 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.71e-07/0.1916, allocations: 0 / 0.7149 GB, free: 3.391 MB / 0.5294 GB
Notification: Performance of Templates: time 0.002853/0.1945, allocations: 0.5501 MB / 0.7155 GB, free: 2.844 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.356053255498409]
Failed to read output from testmodel.py, exit status != 0:
0.20163573417812586 0.21586769400000003 0.027088016000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7faa29cc17b0>