Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001251/0.001251, allocations: 112.7 kB / 18.94 MB, free: 2.953 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.002141/0.002141, allocations: 187.3 kB / 22.23 MB, free: 5.133 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.4/1.4, allocations: 225.6 MB / 251 MB, free: 13.05 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.8907/0.8907, allocations: 145 MB / 451.2 MB, free: 5.504 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck")
translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 68.39 kB / 0.6253 GB, free: 15.52 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1832, allocations: 86.71 MB / 0.71 GB, free: 8.82 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002463/0.1856, allocations: 1.278 MB / 0.7113 GB, free: 7.531 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001116/0.1867, allocations: 0.6149 MB / 0.7119 GB, free: 6.914 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.1868, allocations: 0 / 0.7119 GB, free: 6.914 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.1868, allocations: 4 kB / 0.7119 GB, free: 6.91 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.1868, allocations: 7.922 kB / 0.7119 GB, free: 6.902 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.1874, allocations: 147.4 kB / 0.712 GB, free: 6.758 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.1875, allocations: 11.94 kB / 0.712 GB, free: 6.746 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.1875, allocations: 8 kB / 0.712 GB, free: 6.738 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.1876, allocations: 15.97 kB / 0.712 GB, free: 6.723 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.1876, allocations: 7.938 kB / 0.712 GB, free: 6.715 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1876, allocations: 4 kB / 0.7121 GB, free: 6.711 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005443/0.1882, allocations: 351.3 kB / 0.7124 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.1882, allocations: 0 / 0.7124 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1882, allocations: 7.938 kB / 0.7124 GB, free: 6.359 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1885, allocations: 147.5 kB / 0.7125 GB, free: 6.215 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1885, allocations: 0 / 0.7125 GB, free: 6.215 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.193e-06/0.1885, allocations: 0 / 0.7125 GB, free: 6.215 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 8.556e-06/0.1885, allocations: 0 / 0.7125 GB, free: 6.215 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0004368/0.1889, allocations: 293.9 kB / 0.7128 GB, free: 5.895 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.189, allocations: 12.03 kB / 0.7128 GB, free: 5.883 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.189, allocations: 0.9375 kB / 0.7128 GB, free: 5.883 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1891, allocations: 114.4 kB / 0.7129 GB, free: 5.746 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1891, allocations: 4.312 kB / 0.7129 GB, free: 5.742 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1892, allocations: 4.375 kB / 0.7129 GB, free: 5.738 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1893, allocations: 38.25 kB / 0.713 GB, free: 5.695 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1893, allocations: 192 / 0.713 GB, free: 5.695 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1893, allocations: 3.938 kB / 0.713 GB, free: 5.691 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1893, allocations: 8 kB / 0.713 GB, free: 5.684 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.894e-05/0.1893, allocations: 11.98 kB / 0.713 GB, free: 5.672 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.1895, allocations: 132.8 kB / 0.7131 GB, free: 5.5 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1897, allocations: 50.5 kB / 0.7132 GB, free: 5.441 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.1897, allocations: 12.86 kB / 0.7132 GB, free: 5.426 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1898, allocations: 3.938 kB / 0.7132 GB, free: 5.422 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1898, allocations: 38.64 kB / 0.7132 GB, free: 5.375 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1898, allocations: 0 / 0.7132 GB, free: 5.375 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=6): time 0.0005941/0.1904, allocations: 237.1 kB / 0.7135 GB, free: 5.109 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1904, allocations: 55.41 kB / 0.7135 GB, free: 5.043 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.1905, allocations: 93.86 kB / 0.7136 GB, free: 4.941 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1905, allocations: 29.7 kB / 0.7136 GB, free: 4.906 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1906, allocations: 84.12 kB / 0.7137 GB, free: 4.82 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1906, allocations: 15.86 kB / 0.7137 GB, free: 4.805 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.1906, allocations: 21.72 kB / 0.7137 GB, free: 4.777 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001479/0.1908, allocations: 322.8 kB / 0.7141 GB, free: 4.453 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.1908, allocations: 8 kB / 0.7141 GB, free: 4.445 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.1908, allocations: 11.94 kB / 0.7141 GB, free: 4.434 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.534e-05/0.1909, allocations: 36.84 kB / 0.7141 GB, free: 4.395 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1909, allocations: 3.938 kB / 0.7141 GB, free: 4.391 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001187/0.191, allocations: 69.62 kB / 0.7142 GB, free: 4.316 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.191, allocations: 7.938 kB / 0.7142 GB, free: 4.309 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1911, allocations: 0 / 0.7142 GB, free: 4.309 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1911, allocations: 4 kB / 0.7142 GB, free: 4.305 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.1911, allocations: 12 kB / 0.7142 GB, free: 4.293 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1911, allocations: 3.938 kB / 0.7142 GB, free: 4.289 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.1912, allocations: 4 kB / 0.7142 GB, free: 4.285 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.1912, allocations: 4 kB / 0.7142 GB, free: 4.281 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 (7):
 * Single equations (assignments): 7
 * 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.404e-05/0.1912, allocations: 109.8 kB / 0.7143 GB, free: 4.164 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.1913, allocations: 11.92 kB / 0.7143 GB, free: 4.152 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.1914, allocations: 69.75 kB / 0.7144 GB, free: 4.074 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1914, allocations: 0 / 0.7144 GB, free: 4.074 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1914, allocations: 0 / 0.7144 GB, free: 4.074 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1914, allocations: 4 kB / 0.7144 GB, free: 4.07 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.1918, allocations: 286.4 kB / 0.7147 GB, free: 3.738 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1918, allocations: 0 / 0.7147 GB, free: 3.738 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.1919, allocations: 12.17 kB / 0.7147 GB, free: 3.727 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.1919, allocations: 4 kB / 0.7147 GB, free: 3.723 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1919, allocations: 4 kB / 0.7147 GB, free: 3.719 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1919, allocations: 3.938 kB / 0.7147 GB, free: 3.715 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1919, allocations: 0 / 0.7147 GB, free: 3.715 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.1921, allocations: 192.3 kB / 0.7149 GB, free: 3.508 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.1921, allocations: 4 kB / 0.7149 GB, free: 3.504 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1921, allocations: 4 kB / 0.7149 GB, free: 3.5 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.1922, allocations: 0 / 0.7149 GB, free: 3.5 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.1922, allocations: 7.984 kB / 0.7149 GB, free: 3.492 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1922, allocations: 0 / 0.7149 GB, free: 3.492 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 5.937e-05/0.1923, allocations: 83.34 kB / 0.715 GB, free: 3.41 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 9e-08/0.1923, allocations: 4 kB / 0.715 GB, free: 3.406 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002588/0.1926, allocations: 23.86 kB / 0.715 GB, free: 3.383 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (dp_comp)
 * 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 (6):
 * Single equations (assignments): 6
 * 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.0001921/0.1928, allocations: 119.1 kB / 0.7151 GB, free: 3.258 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0001365/0.1929, allocations: 39.91 kB / 0.7152 GB, free: 3.219 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1929, allocations: 0 / 0.7152 GB, free: 3.219 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.1929, allocations: 19.94 kB / 0.7152 GB, free: 3.199 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.1932, allocations: 3.938 kB / 0.7152 GB, free: 3.195 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.1936, allocations: 205.1 kB / 0.7154 GB, free: 2.969 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.194, allocations: 0.6846 MB / 0.716 GB, free: 2.258 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 3.032e-05/0.194, allocations: 4 kB / 0.716 GB, free: 2.254 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.194, allocations: 7.438 kB / 0.716 GB, free: 2.246 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.9e-07/0.194, allocations: 3.938 kB / 0.7161 GB, free: 2.242 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003293/0.1973, allocations: 0.7012 MB / 0.7167 GB, free: 1.578 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.355317515321076]
Failed to read output from testmodel.py, exit status != 0:
0.20723782666027546 0.219560198 0.028104102000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f60263417b0>