Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001298/0.001298, allocations: 113.9 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.001371/0.001371, allocations: 185.9 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.391/1.391, 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/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.002494/0.002494, allocations: 283.4 kB / 306.5 MB, free: 8.34 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.193/1.193, allocations: 180.9 MB / 0.53 GB, free: 14.43 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2")
translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 104.7 kB / 0.7308 GB, free: 38.83 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1771, allocations: 94.2 MB / 0.8228 GB, free: 1.828 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002995/0.18, allocations: 1.478 MB / 0.8243 GB, free: 348 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001212/0.1813, allocations: 0.636 MB / 0.8249 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.1813, allocations: 0 / 0.8249 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.1813, allocations: 7.922 kB / 0.8249 GB, free: 15.69 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.1814, allocations: 3.938 kB / 0.8249 GB, free: 15.69 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.182, allocations: 166.1 kB / 0.8251 GB, free: 15.53 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1821, allocations: 59.53 kB / 0.8251 GB, free: 15.47 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.1821, allocations: 4 kB / 0.8251 GB, free: 15.46 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.1822, allocations: 23.92 kB / 0.8252 GB, free: 15.44 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.1823, allocations: 27.91 kB / 0.8252 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1823, allocations: 4 kB / 0.8252 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.1829, allocations: 351.3 kB / 0.8255 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.1829, allocations: 11.94 kB / 0.8255 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.1829, allocations: 27.86 kB / 0.8256 GB, free: 15.03 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.1833, allocations: 175.2 kB / 0.8257 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1833, allocations: 4 kB / 0.8257 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.713e-06/0.1833, allocations: 3.938 kB / 0.8257 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.191e-06/0.1833, allocations: 4 kB / 0.8257 GB, free: 14.85 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0006763/0.184, allocations: 325.8 kB / 0.826 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.184, allocations: 12.03 kB / 0.8261 GB, free: 14.48 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.1841, allocations: 0.9375 kB / 0.8261 GB, free: 14.48 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1842, allocations: 114.4 kB / 0.8262 GB, free: 14.35 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.1842, allocations: 8.375 kB / 0.8262 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1842, allocations: 8.312 kB / 0.8262 GB, free: 14.33 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.1845, allocations: 90.2 kB / 0.8263 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1845, allocations: 192 / 0.8263 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1845, allocations: 7.938 kB / 0.8263 GB, free: 14.23 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1845, allocations: 0 / 0.8263 GB, free: 14.23 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.1848, allocations: 47.95 kB / 0.8263 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.1854, allocations: 291.8 kB / 0.8266 GB, free: 13.86 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1857, allocations: 78.53 kB / 0.8267 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1858, allocations: 28.83 kB / 0.8267 GB, free: 13.74 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1859, allocations: 4 kB / 0.8267 GB, free: 13.73 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.1859, allocations: 30.56 kB / 0.8267 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1859, allocations: 0 / 0.8267 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11): time 0.001696/0.1876, allocations: 0.507 MB / 0.8272 GB, free: 13.13 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1876, allocations: 55.41 kB / 0.8273 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.1877, allocations: 105.8 kB / 0.8274 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1877, allocations: 29.7 kB / 0.8274 GB, free: 12.92 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.1878, allocations: 92.03 kB / 0.8275 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1879, allocations: 39.64 kB / 0.8275 GB, free: 12.79 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1879, allocations: 29.72 kB / 0.8276 GB, free: 12.75 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001424/0.188, allocations: 314.8 kB / 0.8279 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1882, allocations: 39.97 kB / 0.8279 GB, free: 12.39 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1883, allocations: 31.92 kB / 0.8279 GB, free: 12.36 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1886, allocations: 71.33 kB / 0.828 GB, free: 12.29 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1886, allocations: 0 / 0.828 GB, free: 12.29 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003453/0.1889, allocations: 125.7 kB / 0.8281 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1889, allocations: 8 kB / 0.8281 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.189, allocations: 0 / 0.8281 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.189, allocations: 4.188 kB / 0.8281 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1891, allocations: 24.08 kB / 0.8282 GB, free: 12.13 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1891, allocations: 7.922 kB / 0.8282 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.1892, allocations: 11.94 kB / 0.8282 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1892, allocations: 7.984 kB / 0.8282 GB, free: 12.1 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 (13):
 * Single equations (assignments): 13
 * 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.678e-05/0.1893, allocations: 113.8 kB / 0.8283 GB, free: 11.98 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.1893, allocations: 4 kB / 0.8283 GB, free: 11.98 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.1898, allocations: 129.6 kB / 0.8284 GB, free: 11.84 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1898, allocations: 3.938 kB / 0.8284 GB, free: 11.83 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1898, allocations: 0 / 0.8284 GB, free: 11.83 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1898, allocations: 7.938 kB / 0.8284 GB, free: 11.82 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.1904, allocations: 357.5 kB / 0.8288 GB, free: 11.43 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1904, allocations: 0 / 0.8288 GB, free: 11.43 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1905, allocations: 23.98 kB / 0.8288 GB, free: 11.4 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1905, allocations: 4 kB / 0.8288 GB, free: 11.4 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1906, allocations: 7.938 kB / 0.8288 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1906, allocations: 0 / 0.8288 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1906, allocations: 0 / 0.8288 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.1911, allocations: 247.4 kB / 0.829 GB, free: 11.13 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.1911, allocations: 7.984 kB / 0.8291 GB, free: 11.12 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1911, allocations: 3.938 kB / 0.8291 GB, free: 11.12 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.1913, allocations: 16.05 kB / 0.8291 GB, free: 11.11 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.1913, allocations: 7.984 kB / 0.8291 GB, free: 11.1 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1913, allocations: 4 kB / 0.8291 GB, free: 11.09 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 6.364e-05/0.1914, allocations: 83.28 kB / 0.8292 GB, free: 11.01 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1914, allocations: 0 / 0.8292 GB, free: 11.01 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002897/0.1917, allocations: 39.86 kB / 0.8292 GB, free: 10.97 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (dp_comp,der_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 (11):
 * Single equations (assignments): 11
 * 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.000235/0.1919, allocations: 127.8 kB / 0.8293 GB, free: 10.84 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003704/0.1923, allocations: 95.81 kB / 0.8294 GB, free: 10.75 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1923, allocations: 3.938 kB / 0.8294 GB, free: 10.74 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1924, allocations: 31.98 kB / 0.8294 GB, free: 10.71 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1928, allocations: 11.98 kB / 0.8295 GB, free: 10.7 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.1936, allocations: 326.6 kB / 0.8298 GB, free: 10.35 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.1941, allocations: 0.6885 MB / 0.8304 GB, free: 9.637 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 5.79e-05/0.1941, allocations: 12.67 kB / 0.8305 GB, free: 9.625 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.1942, allocations: 19.44 kB / 0.8305 GB, free: 9.605 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.91e-07/0.1942, allocations: 0 / 0.8305 GB, free: 9.605 MB / 0.5762 GB
Notification: Performance of Templates: time 0.00435/0.1985, allocations: 1.211 MB / 0.8317 GB, free: 8.445 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.932040007784963]
Failed to read output from testmodel.py, exit status != 0:
0.2063744431361556 0.221662931 0.035307009
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff73e8217b0>