Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.00153/0.00153, 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.001724/0.001724, allocations: 209.9 kB / 23 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.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002479/0.002479, allocations: 286.5 kB / 313.5 MB, free: 2.789 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.178/1.178, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.00279/0.00279, allocations: 95.17 kB / 0.7408 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1557, allocations: 95.38 MB / 0.834 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002402/0.1581, allocations: 1.297 MB / 0.8352 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1592, allocations: 0.6208 MB / 0.8358 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.1592, allocations: 0 / 0.8358 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.1592, allocations: 0 / 0.8358 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.1593, allocations: 7.922 kB / 0.8358 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.1598, allocations: 144.4 kB / 0.836 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.1599, allocations: 23.94 kB / 0.836 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.1599, allocations: 7.984 kB / 0.836 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/0.16, allocations: 11.94 kB / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.16, allocations: 4 kB / 0.836 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-06/0.16, allocations: 0 / 0.836 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.1605, allocations: 351.3 kB / 0.8364 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1605, allocations: 3.938 kB / 0.8364 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.1606, allocations: 7.984 kB / 0.8364 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1608, allocations: 143.5 kB / 0.8365 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1608, allocations: 0 / 0.8365 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1608, allocations: 0 / 0.8365 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.1608, allocations: 4 kB / 0.8365 GB, free: 5.496 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.0003969/0.1612, allocations: 294 kB / 0.8368 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.1613, allocations: 13.28 kB / 0.8368 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.1613, allocations: 4.891 kB / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1614, allocations: 106.5 kB / 0.8369 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1614, allocations: 384 / 0.8369 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1614, allocations: 4.375 kB / 0.8369 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1615, allocations: 42.19 kB / 0.837 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1615, allocations: 8.172 kB / 0.837 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1616, allocations: 3.938 kB / 0.837 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1616, allocations: 4 kB / 0.837 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.1616, allocations: 11.98 kB / 0.837 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.1618, allocations: 124.8 kB / 0.8371 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1619, allocations: 46.61 kB / 0.8371 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.162, allocations: 8.859 kB / 0.8372 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.162, allocations: 8 kB / 0.8372 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.162, allocations: 42.58 kB / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.162, allocations: 0 / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000577/0.1626, allocations: 233 kB / 0.8374 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1626, allocations: 59.41 kB / 0.8375 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.1627, allocations: 93.84 kB / 0.8376 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1627, allocations: 29.7 kB / 0.8376 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.1628, allocations: 84.14 kB / 0.8377 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1628, allocations: 19.8 kB / 0.8377 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1628, allocations: 21.72 kB / 0.8377 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.163, allocations: 318.8 kB / 0.838 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.163, allocations: 8 kB / 0.838 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.163, allocations: 8 kB / 0.838 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.722e-05/0.1631, allocations: 36.84 kB / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1631, allocations: 0 / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.87e-05/0.1632, allocations: 69.62 kB / 0.8381 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1632, allocations: 7.938 kB / 0.8381 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1632, allocations: 0 / 0.8381 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1632, allocations: 4 kB / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.1633, allocations: 8 kB / 0.8382 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1633, allocations: 240 / 0.8382 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.1633, allocations: 0 / 0.8382 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1633, allocations: 8 kB / 0.8382 GB, free: 3.586 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 7.39e-05/0.1634, allocations: 113.8 kB / 0.8383 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.1634, allocations: 11.94 kB / 0.8383 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.1635, allocations: 77.62 kB / 0.8384 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1635, allocations: 0 / 0.8384 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1635, allocations: 0 / 0.8384 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1635, allocations: 0 / 0.8384 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1638, allocations: 299 kB / 0.8386 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1638, allocations: 3.984 kB / 0.8386 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.1639, allocations: 8 kB / 0.8387 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1639, allocations: 4 kB / 0.8387 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1639, allocations: 4.031 kB / 0.8387 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1639, allocations: 3.984 kB / 0.8387 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1639, allocations: 0 / 0.8387 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1641, allocations: 184.3 kB / 0.8388 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.1641, allocations: 3.984 kB / 0.8388 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1641, allocations: 8.031 kB / 0.8389 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1642, allocations: 64 / 0.8389 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.1642, allocations: 11.98 kB / 0.8389 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1642, allocations: 0 / 0.8389 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.1643, allocations: 79.28 kB / 0.8389 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1643, allocations: 0 / 0.8389 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002424/0.1645, allocations: 31.86 kB / 0.839 GB, free: 2.668 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001497/0.1647, allocations: 115.1 kB / 0.8391 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.1648, allocations: 35.92 kB / 0.8391 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1648, allocations: 4 kB / 0.8391 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.1648, allocations: 16 kB / 0.8391 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.165, allocations: 3.938 kB / 0.8391 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.1654, allocations: 226.4 kB / 0.8394 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1657, allocations: 0.6846 MB / 0.84 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.1658, allocations: 15.44 kB / 0.84 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1658, allocations: 0 / 0.84 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.002657/0.1684, allocations: 0.8001 MB / 0.8408 GB, free: 0.7148 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.875924821943045] Failed to read output from testmodel.py, exit status != 0: 0.17587858997285366 0.19128369999999995 0.027428856 Calling exit ...