Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001821/0.001821, 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.002312/0.002312, allocations: 189.6 kB / 22.23 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.401/1.401, 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.002493/0.002493, allocations: 293.8 kB / 306.5 MB, free: 8.344 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.208/1.208, allocations: 180.9 MB / 0.53 GB, free: 14.46 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0033/0.0033, allocations: 104.1 kB / 0.7308 GB, free: 38.87 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.15, allocations: 94.2 MB / 0.8228 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002647/0.1527, allocations: 1.274 MB / 0.8241 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1539, allocations: 0.6359 MB / 0.8247 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.154, allocations: 0 / 0.8247 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.154, allocations: 3.938 kB / 0.8247 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.473e-05/0.154, allocations: 0 / 0.8247 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.1546, allocations: 163.3 kB / 0.8249 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.1547, allocations: 27.92 kB / 0.8249 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.1548, allocations: 0 / 0.8249 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.1548, allocations: 11.94 kB / 0.8249 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.1548, allocations: 15.97 kB / 0.8249 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1549, allocations: 0 / 0.8249 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.1554, allocations: 343.3 kB / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.1554, allocations: 11.91 kB / 0.8253 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.1555, allocations: 19.88 kB / 0.8253 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.1558, allocations: 163.4 kB / 0.8254 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1558, allocations: 0 / 0.8254 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1558, allocations: 0 / 0.8254 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1558, allocations: 0 / 0.8254 GB, free: 15.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004384/0.1562, allocations: 294 kB / 0.8257 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1563, allocations: 8.031 kB / 0.8257 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.1563, allocations: 4.938 kB / 0.8257 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1564, allocations: 110.4 kB / 0.8258 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1564, allocations: 8.375 kB / 0.8258 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1565, allocations: 4.375 kB / 0.8258 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1566, allocations: 46.25 kB / 0.8259 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1566, allocations: 4.172 kB / 0.8259 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1566, allocations: 7.938 kB / 0.8259 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1566, allocations: 4 kB / 0.8259 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.678e-05/0.1567, allocations: 19.92 kB / 0.8259 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.1569, allocations: 140.8 kB / 0.8261 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.157, allocations: 54.56 kB / 0.8261 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.157, allocations: 24.84 kB / 0.8261 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.157, allocations: 4 kB / 0.8261 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1571, allocations: 34.56 kB / 0.8262 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1571, allocations: 0 / 0.8262 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001231/0.1583, allocations: 459.7 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1583, allocations: 55.41 kB / 0.8267 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.1584, allocations: 89.86 kB / 0.8267 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1584, allocations: 33.7 kB / 0.8268 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.1585, allocations: 80.14 kB / 0.8268 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1585, allocations: 39.67 kB / 0.8269 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.1586, allocations: 29.83 kB / 0.8269 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1587, allocations: 318.8 kB / 0.8272 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.1588, allocations: 19.98 kB / 0.8272 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.1588, allocations: 30.11 kB / 0.8273 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1589, allocations: 56.8 kB / 0.8273 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1589, allocations: 0 / 0.8273 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001585/0.1591, allocations: 102.6 kB / 0.8274 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1591, allocations: 8.094 kB / 0.8274 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1591, allocations: 3.938 kB / 0.8274 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.1591, allocations: 3.984 kB / 0.8274 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1592, allocations: 20 kB / 0.8275 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1593, allocations: 4 kB / 0.8275 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.1593, allocations: 0 / 0.8275 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1593, allocations: 4 kB / 0.8275 GB, free: 12.84 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.042e-05/0.1594, allocations: 117.8 kB / 0.8276 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.1594, allocations: 15.88 kB / 0.8276 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.1596, allocations: 97.67 kB / 0.8277 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1596, allocations: 4 kB / 0.8277 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1596, allocations: 4 kB / 0.8277 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1596, allocations: 0 / 0.8277 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.16, allocations: 325.5 kB / 0.828 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.16, allocations: 4 kB / 0.828 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.1602, allocations: 19.98 kB / 0.828 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1602, allocations: 0 / 0.828 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1602, allocations: 0 / 0.828 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1602, allocations: 4 kB / 0.828 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1602, allocations: 3.984 kB / 0.828 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1604, allocations: 227.6 kB / 0.8282 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.1604, allocations: 4.031 kB / 0.8283 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1605, allocations: 4 kB / 0.8283 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1606, allocations: 8 kB / 0.8283 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.1606, allocations: 3.984 kB / 0.8283 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1606, allocations: 4 kB / 0.8283 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.1606, allocations: 75.28 kB / 0.8283 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1606, allocations: 4.156 kB / 0.8283 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002801/0.1609, allocations: 47.8 kB / 0.8284 GB, free: 11.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.000236/0.1611, allocations: 131.8 kB / 0.8285 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1613, allocations: 75.83 kB / 0.8286 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1613, allocations: 0 / 0.8286 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.904e-05/0.1614, allocations: 24 kB / 0.8286 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.1616, allocations: 15.59 kB / 0.8286 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.1622, allocations: 289 kB / 0.8289 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1625, allocations: 0.6846 MB / 0.8296 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.121e-05/0.1625, allocations: 4 kB / 0.8296 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.1626, allocations: 11.44 kB / 0.8296 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1626, allocations: 4 kB / 0.8296 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.00384/0.1664, allocations: 1.008 MB / 0.8306 GB, free: 9.543 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.858641041442752] Failed to read output from testmodel.py, exit status != 0: 0.17387566808611155 0.18904541499999994 0.030142895000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1697de97b0>