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.001527/0.001527, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00169/0.00169, allocations: 217.6 kB / 22.99 MB, free: 4.945 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002398/0.002398, allocations: 290.2 kB / 313.5 MB, free: 2.695 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.171/1.171, allocations: 180.6 MB / 0.5377 GB, free: 14.42 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.002796/0.002796, allocations: 104.9 kB / 0.7407 GB, free: 27.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1487, allocations: 95.39 MB / 0.8339 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002758/0.1514, allocations: 1.471 MB / 0.8353 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1525, allocations: 0.5621 MB / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.1525, allocations: 0 / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.1525, allocations: 3.938 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.121e-05/0.1526, allocations: 7.938 kB / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.1531, allocations: 174.2 kB / 0.836 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.1532, allocations: 47.84 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.1533, allocations: 7.906 kB / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.1533, allocations: 27.91 kB / 0.8361 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.1534, allocations: 15.92 kB / 0.8361 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1534, allocations: 4 kB / 0.8361 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.1538, allocations: 283.4 kB / 0.8364 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.1538, allocations: 15.92 kB / 0.8364 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1539, allocations: 19.92 kB / 0.8364 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1541, allocations: 175.4 kB / 0.8366 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1541, allocations: 0 / 0.8366 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1541, allocations: 0 / 0.8366 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1541, allocations: 0 / 0.8366 GB, free: 4.969 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.000559/0.1547, allocations: 325.8 kB / 0.8369 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1547, allocations: 9.938 kB / 0.8369 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.1548, allocations: 8.891 kB / 0.8369 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1549, allocations: 122.4 kB / 0.8371 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.1549, allocations: 4.375 kB / 0.8371 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.1549, allocations: 12.36 kB / 0.8371 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1552, allocations: 129.6 kB / 0.8372 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1552, allocations: 192 / 0.8372 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1552, allocations: 3.938 kB / 0.8372 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.1552, allocations: 4 kB / 0.8372 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.1555, allocations: 51.95 kB / 0.8373 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.156, allocations: 260.4 kB / 0.8375 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.1563, allocations: 74.53 kB / 0.8376 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1564, allocations: 32.84 kB / 0.8376 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1564, allocations: 0 / 0.8376 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1564, allocations: 34.5 kB / 0.8376 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.1564, allocations: 0 / 0.8376 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001497/0.1579, allocations: 0.4995 MB / 0.8381 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.158, allocations: 55.41 kB / 0.8382 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.1581, allocations: 102 kB / 0.8383 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1581, allocations: 25.7 kB / 0.8383 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1581, allocations: 92.08 kB / 0.8384 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.1582, allocations: 47.62 kB / 0.8384 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.1582, allocations: 29.7 kB / 0.8385 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1584, allocations: 322.8 kB / 0.8388 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1585, allocations: 31.97 kB / 0.8388 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1586, allocations: 27.98 kB / 0.8388 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1589, allocations: 72.83 kB / 0.8389 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1589, allocations: 0 / 0.8389 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003086/0.1592, allocations: 126.8 kB / 0.839 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1592, allocations: 11.94 kB / 0.839 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1592, allocations: 4.031 kB / 0.839 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1592, allocations: 3.984 kB / 0.839 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1593, allocations: 23.98 kB / 0.8391 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1593, allocations: 3.938 kB / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.1594, allocations: 4 kB / 0.8391 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1594, allocations: 11.94 kB / 0.8391 GB, free: 2.207 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 0.0001005/0.1595, allocations: 125.8 kB / 0.8392 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1596, allocations: 0 / 0.8392 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.1599, allocations: 125.7 kB / 0.8393 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1599, allocations: 0 / 0.8393 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.1599, allocations: 0 / 0.8393 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1599, allocations: 4 kB / 0.8393 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.1605, allocations: 322 kB / 0.8396 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1605, allocations: 0 / 0.8396 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1606, allocations: 31.98 kB / 0.8397 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1606, allocations: 3.984 kB / 0.8397 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1606, allocations: 0 / 0.8397 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1606, allocations: 0 / 0.8397 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1606, allocations: 7.938 kB / 0.8397 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.1611, allocations: 255.6 kB / 0.8399 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.1611, allocations: 0 / 0.8399 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1612, allocations: 4.031 kB / 0.8399 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1613, allocations: 11.98 kB / 0.8399 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.1613, allocations: 19.98 kB / 0.8399 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.1613, allocations: 0 / 0.8399 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.1613, allocations: 79.28 kB / 0.84 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1613, allocations: 3.938 kB / 0.84 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002583/0.1616, allocations: 39.88 kB / 0.8401 GB, free: 1.117 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.0001847/0.1618, allocations: 139 kB / 0.8402 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.1621, allocations: 78.52 kB / 0.8403 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1621, allocations: 0 / 0.8403 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1622, allocations: 51.91 kB / 0.8403 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.1625, allocations: 11.94 kB / 0.8403 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.1631, allocations: 343.7 kB / 0.8407 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.445e-05/0.1632, allocations: 79.83 kB / 0.8407 GB, free: 376 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1633, allocations: 23.36 kB / 0.8408 GB, free: 352 kB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1633, allocations: 0 / 0.8408 GB, free: 352 kB / 0.5762 GB Notification: Performance of Templates: time 0.00303/0.1663, allocations: 1.339 MB / 0.8421 GB, free: 15.01 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.797674889210612] Failed to read output from testmodel.py, exit status != 0: 0.17317605391144753 0.18812040100000002 0.031046138 Calling exit ...