Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001234/0.001234, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001296/0.001296, allocations: 190.3 kB / 22.22 MB, free: 5.105 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.38/1.38, allocations: 225.6 MB / 251 MB, free: 13.04 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.8708/0.8708, allocations: 145 MB / 451.3 MB, free: 5.488 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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.59 kB / 0.6254 GB, free: 15.48 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1786, allocations: 86.71 MB / 0.71 GB, free: 8.77 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.00202/0.1806, allocations: 0.5837 MB / 0.7106 GB, free: 8.188 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0002869/0.1809, allocations: 48.2 kB / 0.7107 GB, free: 8.141 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.1809, allocations: 0 / 0.7107 GB, free: 8.141 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.1809, allocations: 0 / 0.7107 GB, free: 8.141 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.1809, allocations: 0 / 0.7107 GB, free: 8.141 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1812, allocations: 15.98 kB / 0.7107 GB, free: 8.125 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.1812, allocations: 3.938 kB / 0.7107 GB, free: 8.121 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.1812, allocations: 3.984 kB / 0.7107 GB, free: 8.117 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.289e-05/0.1813, allocations: 0 / 0.7107 GB, free: 8.117 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.451e-05/0.1813, allocations: 11.98 kB / 0.7107 GB, free: 8.105 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.1813, allocations: 0 / 0.7107 GB, free: 8.105 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1814, allocations: 27.86 kB / 0.7107 GB, free: 8.078 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.1814, allocations: 0 / 0.7107 GB, free: 8.078 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.1814, allocations: 4 kB / 0.7107 GB, free: 8.074 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 8.417e-05/0.1815, allocations: 7.984 kB / 0.7107 GB, free: 8.066 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1815, allocations: 4 kB / 0.7107 GB, free: 8.062 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.463e-06/0.1815, allocations: 0 / 0.7107 GB, free: 8.062 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 9.739e-06/0.1815, allocations: 0 / 0.7107 GB, free: 8.062 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003083/0.1819, allocations: 242.4 kB / 0.711 GB, free: 7.793 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1819, allocations: 16.03 kB / 0.711 GB, free: 7.777 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.1821, allocations: 16.91 kB / 0.711 GB, free: 7.762 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.1822, allocations: 102.5 kB / 0.7111 GB, free: 7.637 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1822, allocations: 384 / 0.7111 GB, free: 7.637 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1822, allocations: 4.375 kB / 0.7111 GB, free: 7.633 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1824, allocations: 34.25 kB / 0.7111 GB, free: 7.594 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1824, allocations: 4.172 kB / 0.7111 GB, free: 7.59 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1824, allocations: 11.94 kB / 0.7111 GB, free: 7.578 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1824, allocations: 0 / 0.7111 GB, free: 7.578 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.1825, allocations: 11.92 kB / 0.7112 GB, free: 7.566 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.1826, allocations: 116.8 kB / 0.7113 GB, free: 7.41 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.11e-05/0.1827, allocations: 18.61 kB / 0.7113 GB, free: 7.383 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.1828, allocations: 12.91 kB / 0.7113 GB, free: 7.367 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1828, allocations: 8 kB / 0.7113 GB, free: 7.359 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1828, allocations: 30.56 kB / 0.7113 GB, free: 7.32 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1828, allocations: 0 / 0.7113 GB, free: 7.32 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=1): time 0.0002579/0.1831, allocations: 53.55 kB / 0.7114 GB, free: 7.262 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1831, allocations: 51.41 kB / 0.7114 GB, free: 7.199 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.835e-05/0.1832, allocations: 93.8 kB / 0.7115 GB, free: 7.098 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1832, allocations: 29.83 kB / 0.7116 GB, free: 7.062 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.1832, allocations: 80.14 kB / 0.7116 GB, free: 6.98 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1833, allocations: 3.953 kB / 0.7116 GB, free: 6.977 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.1833, allocations: 17.72 kB / 0.7116 GB, free: 6.953 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001743/0.1835, allocations: 314.8 kB / 0.712 GB, free: 6.637 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.1835, allocations: 4 kB / 0.712 GB, free: 6.633 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.1836, allocations: 7.984 kB / 0.712 GB, free: 6.625 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.1836, allocations: 12.92 kB / 0.712 GB, free: 6.609 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1836, allocations: 0 / 0.712 GB, free: 6.609 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001296/0.1838, allocations: 53.59 kB / 0.712 GB, free: 6.551 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1838, allocations: 4 kB / 0.712 GB, free: 6.547 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1838, allocations: 0 / 0.712 GB, free: 6.547 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1838, allocations: 3.938 kB / 0.712 GB, free: 6.543 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.1839, allocations: 4 kB / 0.712 GB, free: 6.539 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1839, allocations: 4.031 kB / 0.712 GB, free: 6.535 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.1839, allocations: 7.922 kB / 0.712 GB, free: 6.527 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1839, allocations: 0 / 0.712 GB, free: 6.527 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 (1):
 * Single equations (assignments): 1
 * 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 7.816e-05/0.184, allocations: 113.8 kB / 0.7122 GB, free: 6.406 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.184, allocations: 0 / 0.7122 GB, free: 6.406 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.184, allocations: 6.938 kB / 0.7122 GB, free: 6.398 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.184, allocations: 0 / 0.7122 GB, free: 6.398 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.184, allocations: 0 / 0.7122 GB, free: 6.398 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.184, allocations: 0 / 0.7122 GB, free: 6.398 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.627e-05/0.1841, allocations: 128.7 kB / 0.7123 GB, free: 6.23 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1841, allocations: 0 / 0.7123 GB, free: 6.23 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.1842, allocations: 4 kB / 0.7123 GB, free: 6.227 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1842, allocations: 4 kB / 0.7123 GB, free: 6.223 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1842, allocations: 3.938 kB / 0.7123 GB, free: 6.219 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1842, allocations: 0 / 0.7123 GB, free: 6.219 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1842, allocations: 3.938 kB / 0.7123 GB, free: 6.215 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1844, allocations: 73.11 kB / 0.7124 GB, free: 6.125 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.1844, allocations: 3.938 kB / 0.7124 GB, free: 6.121 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1844, allocations: 3.938 kB / 0.7124 GB, free: 6.117 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.1844, allocations: 0 / 0.7124 GB, free: 6.117 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.1844, allocations: 7.984 kB / 0.7124 GB, free: 6.109 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1844, allocations: 3.938 kB / 0.7124 GB, free: 6.105 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 3.343e-05/0.1845, allocations: 75.28 kB / 0.7125 GB, free: 6.031 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.1845, allocations: 0 / 0.7125 GB, free: 6.031 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0001686/0.1846, allocations: 0 / 0.7125 GB, free: 6.031 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 (1):
 * Single equations (assignments): 1
 * 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.0001258/0.1847, allocations: 103.3 kB / 0.7126 GB, free: 5.918 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0001522/0.1849, allocations: 15.92 kB / 0.7126 GB, free: 5.902 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1849, allocations: 0 / 0.7126 GB, free: 5.902 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 4.526e-05/0.1849, allocations: 7.984 kB / 0.7126 GB, free: 5.895 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1851, allocations: 0 / 0.7126 GB, free: 5.895 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.1853, allocations: 92.97 kB / 0.7127 GB, free: 5.777 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1856, allocations: 0.6729 MB / 0.7133 GB, free: 5.078 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 2.777e-05/0.1857, allocations: 0 / 0.7133 GB, free: 5.078 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.1857, allocations: 7.438 kB / 0.7133 GB, free: 5.07 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.91e-07/0.1857, allocations: 0 / 0.7133 GB, free: 5.07 MB / 0.5294 GB
Notification: Performance of Templates: time 0.002322/0.188, allocations: 243.2 kB / 0.7136 GB, free: 4.836 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.228671927005053]
Failed to read output from testmodel.py, exit status != 0:
0.19581374619156122 0.21045826999999995 0.026016067
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9dabe397b0>