Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001291/0.001291, allocations: 114.2 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.001347/0.001347, allocations: 189 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.394/1.394, allocations: 225.6 MB / 251 MB, free: 13.02 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.00251/0.00251, allocations: 281.2 kB / 306.5 MB, free: 8.32 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.241/1.241, allocations: 180.9 MB / 0.53 GB, free: 14.54 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck")
translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 101.4 kB / 0.7308 GB, free: 38.94 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1521, allocations: 94.2 MB / 0.8228 GB, free: 1.844 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002269/0.1544, allocations: 1.273 MB / 0.8241 GB, free: 0.5625 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001071/0.1555, allocations: 0.6319 MB / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.1555, allocations: 0 / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.1555, allocations: 0 / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.1555, allocations: 7.922 kB / 0.8247 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.1561, allocations: 143.4 kB / 0.8248 GB, free: 15.78 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.1561, allocations: 19.92 kB / 0.8249 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.1562, allocations: 8 kB / 0.8249 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.865e-05/0.1562, allocations: 7.984 kB / 0.8249 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.1562, allocations: 15.92 kB / 0.8249 GB, free: 15.73 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1563, allocations: 0 / 0.8249 GB, free: 15.73 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.1568, allocations: 343.3 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1568, allocations: 4 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.1568, allocations: 11.92 kB / 0.8252 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1571, allocations: 147.5 kB / 0.8254 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1571, allocations: 0 / 0.8254 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.303e-06/0.1571, allocations: 0 / 0.8254 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.979e-06/0.1571, allocations: 4 kB / 0.8254 GB, free: 15.23 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0004111/0.1575, allocations: 289.9 kB / 0.8257 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1576, allocations: 8.031 kB / 0.8257 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.1576, allocations: 0.9375 kB / 0.8257 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1577, allocations: 118.4 kB / 0.8258 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1577, allocations: 384 / 0.8258 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1577, allocations: 4.375 kB / 0.8258 GB, free: 14.76 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1578, allocations: 42.25 kB / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1578, allocations: 192 / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1579, allocations: 7.938 kB / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1579, allocations: 0 / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.1579, allocations: 4 kB / 0.8258 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.1581, allocations: 136.7 kB / 0.826 GB, free: 14.53 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1582, allocations: 42.55 kB / 0.826 GB, free: 14.48 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.1583, allocations: 20.94 kB / 0.826 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1583, allocations: 7.938 kB / 0.826 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1583, allocations: 34.56 kB / 0.8261 GB, free: 14.4 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1583, allocations: 0 / 0.8261 GB, free: 14.4 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=6): time 0.0005778/0.1589, allocations: 237.4 kB / 0.8263 GB, free: 14.14 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.1589, allocations: 59.39 kB / 0.8263 GB, free: 14.07 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.159, allocations: 101.9 kB / 0.8264 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.159, allocations: 25.7 kB / 0.8265 GB, free: 13.93 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.1591, allocations: 80.14 kB / 0.8265 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.1591, allocations: 27.78 kB / 0.8266 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1591, allocations: 17.72 kB / 0.8266 GB, free: 13.79 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001327/0.1593, allocations: 310.8 kB / 0.8269 GB, free: 13.48 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.1593, allocations: 15.98 kB / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.1593, allocations: 11.94 kB / 0.8269 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.1594, allocations: 32.86 kB / 0.8269 GB, free: 13.42 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1594, allocations: 0 / 0.8269 GB, free: 13.42 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.1595, allocations: 73.62 kB / 0.827 GB, free: 13.34 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1595, allocations: 9.656 kB / 0.827 GB, free: 13.33 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1595, allocations: 4 kB / 0.827 GB, free: 13.33 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1595, allocations: 0 / 0.827 GB, free: 13.33 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.1596, allocations: 11.98 kB / 0.827 GB, free: 13.32 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1596, allocations: 3.938 kB / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.1596, allocations: 0 / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1596, allocations: 4 kB / 0.827 GB, free: 13.31 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 (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.079e-05/0.1597, allocations: 114.5 kB / 0.8272 GB, free: 13.19 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.1597, allocations: 7.938 kB / 0.8272 GB, free: 13.18 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.1598, allocations: 73.67 kB / 0.8272 GB, free: 13.1 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1599, allocations: 0 / 0.8272 GB, free: 13.1 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1599, allocations: 0 / 0.8272 GB, free: 13.1 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1599, allocations: 4 kB / 0.8272 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.1602, allocations: 282.4 kB / 0.8275 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1602, allocations: 0 / 0.8275 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.1602, allocations: 12.03 kB / 0.8275 GB, free: 12.75 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1603, allocations: 4 kB / 0.8275 GB, free: 12.75 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1603, allocations: 7.984 kB / 0.8275 GB, free: 12.74 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1603, allocations: 4.125 kB / 0.8275 GB, free: 12.74 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1603, allocations: 4 kB / 0.8275 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1605, allocations: 184.2 kB / 0.8277 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.1605, allocations: 3.984 kB / 0.8277 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1605, allocations: 8.094 kB / 0.8277 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.1606, allocations: 0 / 0.8277 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.1606, allocations: 11.98 kB / 0.8277 GB, free: 12.51 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1606, allocations: 0 / 0.8277 GB, free: 12.51 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.24e-05/0.1607, allocations: 79.28 kB / 0.8278 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1607, allocations: 0 / 0.8278 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002399/0.1609, allocations: 23.88 kB / 0.8278 GB, free: 12.41 MB / 0.5762 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.0001715/0.1611, allocations: 127.8 kB / 0.828 GB, free: 12.28 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001038/0.1612, allocations: 27.97 kB / 0.828 GB, free: 12.25 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1612, allocations: 0 / 0.828 GB, free: 12.25 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.1612, allocations: 23.92 kB / 0.828 GB, free: 12.23 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1614, allocations: 11.94 kB / 0.828 GB, free: 12.21 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.1618, allocations: 184.8 kB / 0.8282 GB, free: 12.01 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1621, allocations: 0.6807 MB / 0.8289 GB, free: 11.3 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.381e-05/0.1621, allocations: 11.92 kB / 0.8289 GB, free: 11.29 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.1622, allocations: 11.44 kB / 0.8289 GB, free: 11.28 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.31e-07/0.1622, allocations: 7.938 kB / 0.8289 GB, free: 11.27 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003066/0.1652, allocations: 0.6953 MB / 0.8296 GB, free: 10.62 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.901623330079019]
Failed to read output from testmodel.py, exit status != 0:
0.17185231018811464 0.18658012199999996 0.026577319000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff01b6957b0>