Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001236/0.001236, allocations: 113.9 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.001262/0.001262, allocations: 186.9 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.362/1.362, 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/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.9015/0.9015, allocations: 145 MB / 451.2 MB, free: 5.484 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2")
translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.66 kB / 0.6253 GB, free: 15.51 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1643, allocations: 86.71 MB / 0.71 GB, free: 8.793 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002892/0.1672, allocations: 1.486 MB / 0.7115 GB, free: 7.297 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001192/0.1684, allocations: 0.6344 MB / 0.7121 GB, free: 6.66 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.1685, allocations: 4 kB / 0.7121 GB, free: 6.656 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.1685, allocations: 0 / 0.7121 GB, free: 6.656 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.1686, allocations: 7.875 kB / 0.7121 GB, free: 6.648 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.1692, allocations: 167.3 kB / 0.7122 GB, free: 6.484 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 9.857e-05/0.1693, allocations: 43.86 kB / 0.7123 GB, free: 6.441 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.1693, allocations: 11.98 kB / 0.7123 GB, free: 6.43 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.1694, allocations: 15.94 kB / 0.7123 GB, free: 6.414 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.1695, allocations: 35.89 kB / 0.7123 GB, free: 6.379 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1695, allocations: 4 kB / 0.7124 GB, free: 6.375 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.17, allocations: 343.3 kB / 0.7127 GB, free: 6.039 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.17, allocations: 19.92 kB / 0.7127 GB, free: 6.02 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.1701, allocations: 19.88 kB / 0.7127 GB, free: 6 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1704, allocations: 179.4 kB / 0.7129 GB, free: 5.824 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1704, allocations: 0 / 0.7129 GB, free: 5.824 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.102e-06/0.1704, allocations: 3.938 kB / 0.7129 GB, free: 5.82 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.549e-06/0.1704, allocations: 0 / 0.7129 GB, free: 5.82 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0005956/0.171, allocations: 333.8 kB / 0.7132 GB, free: 5.461 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.171, allocations: 12.03 kB / 0.7132 GB, free: 5.449 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1711, allocations: 0.9375 kB / 0.7132 GB, free: 5.449 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1712, allocations: 118.4 kB / 0.7133 GB, free: 5.309 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.1712, allocations: 8.312 kB / 0.7133 GB, free: 5.301 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1712, allocations: 8.375 kB / 0.7134 GB, free: 5.293 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.1715, allocations: 78.22 kB / 0.7134 GB, free: 5.211 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1715, allocations: 4.172 kB / 0.7134 GB, free: 5.207 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1715, allocations: 15.94 kB / 0.7134 GB, free: 5.191 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1715, allocations: 0 / 0.7134 GB, free: 5.191 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.1718, allocations: 43.97 kB / 0.7135 GB, free: 5.148 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.1723, allocations: 291.8 kB / 0.7138 GB, free: 4.82 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1726, allocations: 78.53 kB / 0.7138 GB, free: 4.734 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1728, allocations: 36.77 kB / 0.7139 GB, free: 4.695 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1728, allocations: 4 kB / 0.7139 GB, free: 4.691 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1728, allocations: 30.56 kB / 0.7139 GB, free: 4.652 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1728, allocations: 0 / 0.7139 GB, free: 4.652 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=11): time 0.001674/0.1745, allocations: 0.4957 MB / 0.7144 GB, free: 4.102 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1745, allocations: 51.41 kB / 0.7144 GB, free: 4.039 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.1746, allocations: 105.8 kB / 0.7145 GB, free: 3.926 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1746, allocations: 33.7 kB / 0.7146 GB, free: 3.887 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1747, allocations: 92.02 kB / 0.7147 GB, free: 3.793 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1748, allocations: 39.64 kB / 0.7147 GB, free: 3.754 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.1748, allocations: 29.72 kB / 0.7147 GB, free: 3.719 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001373/0.1749, allocations: 318.8 kB / 0.715 GB, free: 3.398 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1751, allocations: 31.98 kB / 0.7151 GB, free: 3.367 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1752, allocations: 30.97 kB / 0.7151 GB, free: 3.34 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.1755, allocations: 84.7 kB / 0.7152 GB, free: 3.254 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1755, allocations: 0 / 0.7152 GB, free: 3.254 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003278/0.1758, allocations: 113.8 kB / 0.7153 GB, free: 3.137 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1758, allocations: 8 kB / 0.7153 GB, free: 3.129 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.1758, allocations: 4 kB / 0.7153 GB, free: 3.125 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1759, allocations: 0 / 0.7153 GB, free: 3.125 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.176, allocations: 23.98 kB / 0.7153 GB, free: 3.102 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.176, allocations: 4 kB / 0.7153 GB, free: 3.098 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.1761, allocations: 11.92 kB / 0.7153 GB, free: 3.086 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1761, allocations: 11.94 kB / 0.7153 GB, free: 3.074 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 (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.597e-05/0.1762, allocations: 117.8 kB / 0.7155 GB, free: 2.949 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1762, allocations: 7.953 kB / 0.7155 GB, free: 2.941 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.1766, allocations: 125.7 kB / 0.7156 GB, free: 2.805 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1766, allocations: 0 / 0.7156 GB, free: 2.805 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1766, allocations: 4 kB / 0.7156 GB, free: 2.801 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1766, allocations: 7.938 kB / 0.7156 GB, free: 2.793 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.1772, allocations: 349.5 kB / 0.7159 GB, free: 2.402 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1772, allocations: 0 / 0.7159 GB, free: 2.402 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1774, allocations: 27.97 kB / 0.716 GB, free: 2.375 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1774, allocations: 4 kB / 0.716 GB, free: 2.371 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1774, allocations: 7.938 kB / 0.716 GB, free: 2.363 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1774, allocations: 3.984 kB / 0.716 GB, free: 2.359 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1774, allocations: 7.938 kB / 0.716 GB, free: 2.352 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.178, allocations: 247.7 kB / 0.7162 GB, free: 2.094 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.178, allocations: 7.984 kB / 0.7162 GB, free: 2.086 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.178, allocations: 3.938 kB / 0.7162 GB, free: 2.082 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1781, allocations: 7.984 kB / 0.7162 GB, free: 2.074 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.1782, allocations: 16.05 kB / 0.7162 GB, free: 2.059 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1782, allocations: 4 kB / 0.7163 GB, free: 2.055 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 4.449e-05/0.1782, allocations: 79.28 kB / 0.7163 GB, free: 1.977 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 6e-08/0.1782, allocations: 0 / 0.7163 GB, free: 1.977 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002794/0.1785, allocations: 39.86 kB / 0.7164 GB, free: 1.938 MB / 0.5294 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.0002224/0.1787, allocations: 135 kB / 0.7165 GB, free: 1.797 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0003409/0.1791, allocations: 87.92 kB / 0.7166 GB, free: 1.711 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1791, allocations: 4 kB / 0.7166 GB, free: 1.707 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.1792, allocations: 39.92 kB / 0.7166 GB, free: 1.668 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1795, allocations: 9.219 kB / 0.7166 GB, free: 1.66 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/0.1803, allocations: 337.2 kB / 0.7169 GB, free: 1.305 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1806, allocations: 0.6885 MB / 0.7176 GB, free: 0.5898 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 5.825e-05/0.1807, allocations: 12.61 kB / 0.7176 GB, free: 0.5781 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.1807, allocations: 11.44 kB / 0.7176 GB, free: 0.5664 MB / 0.5294 GB
Notification: Performance of SimCode: time 4.21e-07/0.1807, allocations: 8 kB / 0.7177 GB, free: 0.5586 MB / 0.5294 GB
Notification: Performance of Templates: time 0.004529/0.1852, allocations: 1.203 MB / 0.7188 GB, free: 15.4 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.405869190581143]
Failed to read output from testmodel.py, exit status != 0:
0.19260576739907265 0.208259576 0.034915065
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f71c39f57b0>