Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001696/0.001696, 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.001904/0.001904, allocations: 189.4 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.554/1.554, allocations: 225.6 MB / 251.8 MB, free: 12.99 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 1.035/1.035, allocations: 149.6 MB / 456.6 MB, free: 1.246 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck")
translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 56.97 kB / 0.6328 GB, free: 9 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1903, allocations: 87.89 MB / 0.7187 GB, free: 1.031 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002507/0.1928, allocations: 1.277 MB / 0.7199 GB, free: 15.75 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001136/0.194, allocations: 0.615 MB / 0.7205 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.194, allocations: 3.938 kB / 0.7205 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.194, allocations: 0 / 0.7205 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 6.473e-05/0.1941, allocations: 11.92 kB / 0.7205 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.1946, allocations: 143.4 kB / 0.7207 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.1947, allocations: 27.86 kB / 0.7207 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.1947, allocations: 0 / 0.7207 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.1948, allocations: 7.984 kB / 0.7207 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.1948, allocations: 11.94 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1948, allocations: 0 / 0.7207 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005539/0.1954, allocations: 347.3 kB / 0.721 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1954, allocations: 8 kB / 0.7211 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.1954, allocations: 7.938 kB / 0.7211 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1957, allocations: 147.5 kB / 0.7212 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1957, allocations: 0 / 0.7212 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.723e-06/0.1957, allocations: 0 / 0.7212 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.45e-06/0.1957, allocations: 0 / 0.7212 GB, free: 14.43 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0004374/0.1961, allocations: 282 kB / 0.7215 GB, free: 14.12 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1962, allocations: 12.03 kB / 0.7215 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1962, allocations: 4.891 kB / 0.7215 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1963, allocations: 110.5 kB / 0.7216 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1963, allocations: 4.375 kB / 0.7216 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1963, allocations: 384 / 0.7216 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1965, allocations: 49.62 kB / 0.7216 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1965, allocations: 0 / 0.7216 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1965, allocations: 0 / 0.7216 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1965, allocations: 0 / 0.7216 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.1965, allocations: 15.92 kB / 0.7217 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1967, allocations: 128.8 kB / 0.7218 GB, free: 13.73 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1969, allocations: 42.61 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.1969, allocations: 16.86 kB / 0.7218 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1969, allocations: 3.938 kB / 0.7218 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.197, allocations: 38.64 kB / 0.7219 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.197, allocations: 0 / 0.7219 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of matching and sorting (n=6): time 0.0005948/0.1976, allocations: 233.4 kB / 0.7221 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1976, allocations: 55.41 kB / 0.7222 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.1977, allocations: 101.8 kB / 0.7223 GB, free: 13.17 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1977, allocations: 29.69 kB / 0.7223 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.1978, allocations: 84.14 kB / 0.7224 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1978, allocations: 15.86 kB / 0.7224 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.1978, allocations: 17.72 kB / 0.7224 GB, free: 13.01 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001519/0.198, allocations: 322.8 kB / 0.7227 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.198, allocations: 15.94 kB / 0.7227 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.1981, allocations: 15.98 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.1981, allocations: 32.84 kB / 0.7228 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1981, allocations: 0 / 0.7228 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001123/0.1982, allocations: 73.72 kB / 0.7228 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1982, allocations: 4 kB / 0.7228 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1982, allocations: 0 / 0.7228 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1983, allocations: 0 / 0.7228 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.1983, allocations: 12 kB / 0.7228 GB, free: 12.53 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1983, allocations: 4.062 kB / 0.7229 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.1984, allocations: 4 kB / 0.7229 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1984, allocations: 0 / 0.7229 GB, free: 12.52 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 (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.552e-05/0.1984, allocations: 117.8 kB / 0.723 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.1985, allocations: 3.984 kB / 0.723 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.1986, allocations: 77.64 kB / 0.723 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1986, allocations: 0 / 0.723 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1986, allocations: 128 / 0.723 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1986, allocations: 0 / 0.723 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.199, allocations: 290.4 kB / 0.7233 GB, free: 11.97 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.199, allocations: 4 kB / 0.7233 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.199, allocations: 15.98 kB / 0.7233 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.199, allocations: 0 / 0.7233 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.199, allocations: 4 kB / 0.7233 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1991, allocations: 0 / 0.7233 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1991, allocations: 0 / 0.7233 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1993, allocations: 184.3 kB / 0.7235 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.1993, allocations: 7.984 kB / 0.7235 GB, free: 11.74 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1993, allocations: 0 / 0.7235 GB, free: 11.74 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.1994, allocations: 4 kB / 0.7235 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.1994, allocations: 7.984 kB / 0.7235 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1994, allocations: 4 kB / 0.7235 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.167e-05/0.1995, allocations: 79.22 kB / 0.7236 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1.3e-07/0.1995, allocations: 4 kB / 0.7236 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002473/0.1997, allocations: 23.86 kB / 0.7236 GB, free: 11.62 MB / 0.545 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.0001905/0.1999, allocations: 131.2 kB / 0.7238 GB, free: 11.48 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001078/0.2, allocations: 31.92 kB / 0.7238 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2, allocations: 0 / 0.7238 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.2, allocations: 12 kB / 0.7238 GB, free: 11.44 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2003, allocations: 10.19 kB / 0.7238 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.2007, allocations: 200.8 kB / 0.724 GB, free: 11.2 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.201, allocations: 0.6845 MB / 0.7247 GB, free: 10.49 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.212e-05/0.2011, allocations: 8 kB / 0.7247 GB, free: 10.48 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.2011, allocations: 11.44 kB / 0.7247 GB, free: 10.47 MB / 0.545 GB
Notification: Performance of SimCode: time 3e-07/0.2011, allocations: 0 / 0.7247 GB, free: 10.47 MB / 0.545 GB
Notification: Performance of Templates: time 0.003271/0.2043, allocations: 0.6791 MB / 0.7254 GB, free: 9.828 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.93106493819505]
Failed to read output from testmodel.py, exit status != 0:
0.21296736784279346 0.22796126199999994 0.029230564
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe03d5bd7b0>