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.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.001417/0.001417, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001524/0.001524, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.785 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.00256/0.00256, allocations: 277.4 kB / 312.7 MB, free: 2.582 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.282/1.282, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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_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: 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.002891/0.002891, allocations: 105.2 kB / 0.74 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1923, allocations: 95.39 MB / 0.8331 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002423/0.1947, allocations: 1.288 MB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1958, allocations: 0.5544 MB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.1958, allocations: 0 / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1958, allocations: 0 / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/0.1958, allocations: 3.938 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.1964, allocations: 152 kB / 0.8351 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.1964, allocations: 27.86 kB / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1965, allocations: 7.984 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.1965, allocations: 12 kB / 0.8351 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.1966, allocations: 15.91 kB / 0.8352 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1966, allocations: 4 kB / 0.8352 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.197, allocations: 263.5 kB / 0.8354 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.197, allocations: 7.984 kB / 0.8354 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.1971, allocations: 15.92 kB / 0.8354 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.1973, allocations: 155.4 kB / 0.8356 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1973, allocations: 0 / 0.8356 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1973, allocations: 0 / 0.8356 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.1973, allocations: 0 / 0.8356 GB, free: 5.32 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.0003984/0.1977, allocations: 286 kB / 0.8358 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1978, allocations: 17.33 kB / 0.8359 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1978, allocations: 4.891 kB / 0.8359 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1979, allocations: 118.4 kB / 0.836 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1979, allocations: 384 / 0.836 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1979, allocations: 8.375 kB / 0.836 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1981, allocations: 105.6 kB / 0.8361 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1981, allocations: 192 / 0.8361 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1981, allocations: 3.938 kB / 0.8361 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1981, allocations: 0 / 0.8361 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.044e-05/0.1982, allocations: 19.98 kB / 0.8361 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.1983, allocations: 117.3 kB / 0.8362 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1984, allocations: 58.5 kB / 0.8363 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.1985, allocations: 28.84 kB / 0.8363 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1985, allocations: 0 / 0.8363 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1985, allocations: 34.56 kB / 0.8363 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.1985, allocations: 7.984 kB / 0.8364 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001093/0.1996, allocations: 455.6 kB / 0.8368 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1997, allocations: 51.41 kB / 0.8368 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.1997, allocations: 97.86 kB / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1998, allocations: 25.7 kB / 0.837 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.1998, allocations: 84.14 kB / 0.837 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.1998, allocations: 43.64 kB / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.1999, allocations: 33.83 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2, allocations: 314.8 kB / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.2001, allocations: 23.92 kB / 0.8374 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.2001, allocations: 30.11 kB / 0.8375 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.2002, allocations: 52.86 kB / 0.8375 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2002, allocations: 0 / 0.8375 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/0.2004, allocations: 87.19 kB / 0.8376 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2004, allocations: 11.94 kB / 0.8376 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2004, allocations: 96 / 0.8376 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2004, allocations: 7.922 kB / 0.8376 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2005, allocations: 19.94 kB / 0.8376 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2005, allocations: 8 kB / 0.8376 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.2006, allocations: 4 kB / 0.8376 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2006, allocations: 0 / 0.8376 GB, free: 2.973 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.158e-05/0.2007, allocations: 117.8 kB / 0.8378 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.2007, allocations: 11.89 kB / 0.8378 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.2009, allocations: 105.6 kB / 0.8379 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2009, allocations: 4 kB / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2009, allocations: 0 / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2009, allocations: 0 / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.2014, allocations: 294.1 kB / 0.8382 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2014, allocations: 4 kB / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2016, allocations: 31.92 kB / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2016, allocations: 0 / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2016, allocations: 0 / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2016, allocations: 0 / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2016, allocations: 0 / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.2018, allocations: 219.4 kB / 0.8384 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.2019, allocations: 7.984 kB / 0.8384 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2019, allocations: 4 kB / 0.8384 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.202, allocations: 11.98 kB / 0.8384 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.202, allocations: 11.98 kB / 0.8384 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.202, allocations: 4 kB / 0.8384 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.202, allocations: 79.28 kB / 0.8385 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.202, allocations: 0 / 0.8385 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000277/0.2023, allocations: 35.88 kB / 0.8385 GB, free: 1.977 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.0002074/0.2025, allocations: 142.9 kB / 0.8387 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.2027, allocations: 51.98 kB / 0.8387 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2027, allocations: 0 / 0.8387 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/0.2027, allocations: 31.92 kB / 0.8388 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2029, allocations: 16.03 kB / 0.8388 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.2035, allocations: 282 kB / 0.839 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.738e-05/0.2035, allocations: 75.23 kB / 0.8391 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.2036, allocations: 8 kB / 0.8391 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.2036, allocations: 19.38 kB / 0.8391 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.2036, allocations: 0 / 0.8391 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.00379/0.2074, allocations: 0.9441 MB / 0.8401 GB, free: 416 kB / 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: 6.190000804141164] Failed to read output from testmodel.py, exit status != 0: 0.21460526436567307 0.230654626 0.030277089000000004 Calling exit ...