Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 105.8 kB / 19.69 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 215.2 kB / 23.01 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002487/0.002487, allocations: 288.4 kB / 313.5 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.149/1.149, allocations: 180.6 MB / 0.5377 GB, free: 12.97 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 101.6 kB / 0.7408 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1612, allocations: 95.38 MB / 0.834 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002864/0.1641, allocations: 1.5 MB / 0.8354 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1652, allocations: 0.6438 MB / 0.8361 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.1653, allocations: 0 / 0.8361 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.1653, allocations: 3.938 kB / 0.8361 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.1654, allocations: 15.91 kB / 0.8361 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.166, allocations: 153.2 kB / 0.8362 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.1661, allocations: 47.91 kB / 0.8363 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1661, allocations: 11.92 kB / 0.8363 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.1662, allocations: 19.94 kB / 0.8363 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.1662, allocations: 35.83 kB / 0.8363 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1662, allocations: 4 kB / 0.8363 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.1668, allocations: 339.4 kB / 0.8367 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.1668, allocations: 19.97 kB / 0.8367 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.1668, allocations: 19.88 kB / 0.8367 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1671, allocations: 183.3 kB / 0.8369 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1671, allocations: 0 / 0.8369 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1671, allocations: 0 / 0.8369 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1671, allocations: 3.938 kB / 0.8369 GB, free: 5.133 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006064/0.1677, allocations: 332.3 kB / 0.8372 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1678, allocations: 17.94 kB / 0.8372 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.1678, allocations: 4.891 kB / 0.8372 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1679, allocations: 114.5 kB / 0.8373 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.1679, allocations: 4.375 kB / 0.8373 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.168, allocations: 8.375 kB / 0.8373 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.1682, allocations: 78.22 kB / 0.8374 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1682, allocations: 192 / 0.8374 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1682, allocations: 7.938 kB / 0.8374 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1682, allocations: 0 / 0.8374 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.1685, allocations: 59.89 kB / 0.8375 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.169, allocations: 291.8 kB / 0.8377 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.1693, allocations: 78.47 kB / 0.8378 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1694, allocations: 28.84 kB / 0.8379 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1694, allocations: 8 kB / 0.8379 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1694, allocations: 30.56 kB / 0.8379 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.1694, allocations: 0 / 0.8379 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001509/0.1709, allocations: 0.4996 MB / 0.8384 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.171, allocations: 55.34 kB / 0.8384 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.1711, allocations: 105.8 kB / 0.8385 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1711, allocations: 29.7 kB / 0.8386 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.1712, allocations: 96.06 kB / 0.8386 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1712, allocations: 35.66 kB / 0.8387 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.1713, allocations: 33.7 kB / 0.8387 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1714, allocations: 318.8 kB / 0.839 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1715, allocations: 27.98 kB / 0.839 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1716, allocations: 37.03 kB / 0.8391 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1719, allocations: 77.45 kB / 0.8392 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1719, allocations: 0 / 0.8392 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000305/0.1722, allocations: 119.7 kB / 0.8393 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1722, allocations: 8 kB / 0.8393 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1722, allocations: 0 / 0.8393 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1722, allocations: 4 kB / 0.8393 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1724, allocations: 27.92 kB / 0.8393 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1724, allocations: 96 / 0.8393 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.1725, allocations: 15.86 kB / 0.8393 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1725, allocations: 12 kB / 0.8393 GB, free: 2.379 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 8.681e-05/0.1725, allocations: 113.8 kB / 0.8394 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.1726, allocations: 4 kB / 0.8394 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.1729, allocations: 129.7 kB / 0.8396 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1729, allocations: 7.969 kB / 0.8396 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1729, allocations: 0 / 0.8396 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.173, allocations: 7.938 kB / 0.8396 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.1735, allocations: 345.6 kB / 0.8399 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1735, allocations: 0 / 0.8399 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.1736, allocations: 27.92 kB / 0.8399 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1736, allocations: 7.938 kB / 0.8399 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1737, allocations: 11.92 kB / 0.84 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1737, allocations: 0 / 0.84 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1737, allocations: 0 / 0.84 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.1741, allocations: 247.4 kB / 0.8402 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.1741, allocations: 4.031 kB / 0.8402 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1742, allocations: 3.938 kB / 0.8402 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1743, allocations: 7.984 kB / 0.8402 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.1743, allocations: 8 kB / 0.8402 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1743, allocations: 7.984 kB / 0.8402 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.1744, allocations: 83.34 kB / 0.8403 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1744, allocations: 0 / 0.8403 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002622/0.1746, allocations: 35.88 kB / 0.8403 GB, free: 1.258 MB / 0.5762 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.0002024/0.1748, allocations: 142.9 kB / 0.8405 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1751, allocations: 75.95 kB / 0.8405 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1751, allocations: 0 / 0.8405 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.1753, allocations: 47.84 kB / 0.8406 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1755, allocations: 12 kB / 0.8406 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.1762, allocations: 356.2 kB / 0.8409 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1765, allocations: 0.6929 MB / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1766, allocations: 19.42 kB / 0.8416 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1766, allocations: 0 / 0.8416 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Templates: time 0.003185/0.1797, allocations: 1.322 MB / 0.8429 GB, free: 14.54 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.8246528811287135] Failed to read output from testmodel.py, exit status != 0: 0.18697046395391226 0.201866219 0.031801428 Calling exit ...