Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001339/0.001339, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001405/0.001405, allocations: 191.2 kB / 22.98 MB, free: 5.062 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.584/1.584, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9633/0.9633, allocations: 149.6 MB / 456.6 MB, free: 1.133 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2")
translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.61 kB / 0.6328 GB, free: 8.91 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1728, allocations: 87.88 MB / 0.7187 GB, free: 0.9531 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003018/0.1758, allocations: 1.477 MB / 0.7201 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001189/0.177, allocations: 0.6266 MB / 0.7207 GB, free: 14.84 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.1771, allocations: 0 / 0.7207 GB, free: 14.84 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.1771, allocations: 3.938 kB / 0.7207 GB, free: 14.84 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.1771, allocations: 7.938 kB / 0.7207 GB, free: 14.83 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.1778, allocations: 166.1 kB / 0.7209 GB, free: 14.67 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 9.938e-05/0.1779, allocations: 55.59 kB / 0.7209 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.1779, allocations: 11.92 kB / 0.721 GB, free: 14.6 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.178, allocations: 19.98 kB / 0.721 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.1781, allocations: 27.84 kB / 0.721 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1781, allocations: 4 kB / 0.721 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.1786, allocations: 347.3 kB / 0.7213 GB, free: 14.21 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.1787, allocations: 11.98 kB / 0.7214 GB, free: 14.2 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.1787, allocations: 27.86 kB / 0.7214 GB, free: 14.17 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.179, allocations: 179.4 kB / 0.7215 GB, free: 14 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.179, allocations: 0 / 0.7215 GB, free: 14 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.243e-06/0.179, allocations: 4 kB / 0.7216 GB, free: 13.99 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.302e-06/0.179, allocations: 0 / 0.7216 GB, free: 13.99 MB / 0.545 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.0006813/0.1797, allocations: 317.8 kB / 0.7219 GB, free: 13.65 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1798, allocations: 8.031 kB / 0.7219 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.1798, allocations: 16.81 kB / 0.7219 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.18, allocations: 118.4 kB / 0.722 GB, free: 13.49 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.18, allocations: 4.375 kB / 0.722 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.18, allocations: 8.375 kB / 0.722 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.1803, allocations: 81.59 kB / 0.7221 GB, free: 13.39 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1803, allocations: 0 / 0.7221 GB, free: 13.39 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1803, allocations: 4 kB / 0.7221 GB, free: 13.39 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1804, allocations: 0 / 0.7221 GB, free: 13.39 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.1806, allocations: 47.95 kB / 0.7221 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.1812, allocations: 299.8 kB / 0.7224 GB, free: 13 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1815, allocations: 74.53 kB / 0.7225 GB, free: 12.92 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1816, allocations: 25 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1817, allocations: 7.984 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1817, allocations: 34.56 kB / 0.7226 GB, free: 12.84 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1817, allocations: 4 kB / 0.7226 GB, free: 12.84 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11): time 0.001718/0.1834, allocations: 0.5071 MB / 0.7231 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1835, allocations: 51.41 kB / 0.7231 GB, free: 12.21 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1836, allocations: 105.8 kB / 0.7232 GB, free: 12.1 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1836, allocations: 29.7 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1837, allocations: 92.03 kB / 0.7233 GB, free: 11.97 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.1837, allocations: 35.69 kB / 0.7234 GB, free: 11.94 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.1838, allocations: 33.7 kB / 0.7234 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001615/0.1839, allocations: 314.8 kB / 0.7237 GB, free: 11.58 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1841, allocations: 31.97 kB / 0.7237 GB, free: 11.55 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1842, allocations: 31.98 kB / 0.7237 GB, free: 11.52 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.1845, allocations: 76.08 kB / 0.7238 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1845, allocations: 0 / 0.7238 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003509/0.1848, allocations: 117.7 kB / 0.7239 GB, free: 11.32 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.1848, allocations: 11.98 kB / 0.7239 GB, free: 11.31 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1849, allocations: 7.984 kB / 0.724 GB, free: 11.3 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.1849, allocations: 3.938 kB / 0.724 GB, free: 11.3 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.1851, allocations: 27.98 kB / 0.724 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1851, allocations: 0 / 0.724 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.1851, allocations: 4 kB / 0.724 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1851, allocations: 7.984 kB / 0.724 GB, free: 11.26 MB / 0.545 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 0.0001203/0.1853, allocations: 125.7 kB / 0.7241 GB, free: 11.13 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1853, allocations: 3.953 kB / 0.7241 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.1858, allocations: 133.8 kB / 0.7242 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.1858, allocations: 3.938 kB / 0.7242 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1858, allocations: 0 / 0.7242 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1858, allocations: 3.984 kB / 0.7243 GB, free: 10.97 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.1865, allocations: 353.5 kB / 0.7246 GB, free: 10.58 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1865, allocations: 3.938 kB / 0.7246 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1866, allocations: 23.98 kB / 0.7246 GB, free: 10.55 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1866, allocations: 8 kB / 0.7246 GB, free: 10.54 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1866, allocations: 4 kB / 0.7246 GB, free: 10.54 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.1866, allocations: 3.984 kB / 0.7246 GB, free: 10.54 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1866, allocations: 0 / 0.7246 GB, free: 10.54 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.1872, allocations: 247.4 kB / 0.7249 GB, free: 10.28 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.1873, allocations: 11.91 kB / 0.7249 GB, free: 10.27 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1873, allocations: 8.062 kB / 0.7249 GB, free: 10.26 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1874, allocations: 4 kB / 0.7249 GB, free: 10.25 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.1874, allocations: 7.984 kB / 0.7249 GB, free: 10.25 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1874, allocations: 11.98 kB / 0.7249 GB, free: 10.23 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.351e-05/0.1875, allocations: 79.28 kB / 0.725 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1875, allocations: 0 / 0.725 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003056/0.1878, allocations: 35.88 kB / 0.725 GB, free: 10.12 MB / 0.545 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.0002485/0.1881, allocations: 131.1 kB / 0.7251 GB, free: 9.984 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.000369/0.1884, allocations: 79.89 kB / 0.7252 GB, free: 9.906 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1884, allocations: 0 / 0.7252 GB, free: 9.906 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1886, allocations: 47.91 kB / 0.7253 GB, free: 9.859 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1889, allocations: 16.19 kB / 0.7253 GB, free: 9.848 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.1897, allocations: 322 kB / 0.7256 GB, free: 9.504 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1901, allocations: 0.6924 MB / 0.7263 GB, free: 8.785 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 5.758e-05/0.1901, allocations: 16.66 kB / 0.7263 GB, free: 8.77 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.1902, allocations: 11.44 kB / 0.7263 GB, free: 8.758 MB / 0.545 GB
Notification: Performance of SimCode: time 3e-07/0.1902, allocations: 0 / 0.7263 GB, free: 8.758 MB / 0.545 GB
Notification: Performance of Templates: time 0.004707/0.1949, allocations: 1.199 MB / 0.7275 GB, free: 7.598 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.833916393108666]
Failed to read output from testmodel.py, exit status != 0:
0.2037200415506959 0.218547338 0.036266919
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f256d5c97b0>