Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001382/0.001382, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001109/0.001109, allocations: 165.4 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9498/0.9498, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.856/1.856, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7752 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.064e-05, allocations: 6.094 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001646/0.001667, allocations: 1.336 MB / 0.7765 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.002428, allocations: 0.5766 MB / 0.777 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.002452, allocations: 2.719 kB / 0.777 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.002473, allocations: 3.938 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.002529, allocations: 5.516 kB / 0.777 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.002971, allocations: 146 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.00304, allocations: 19.86 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.003082, allocations: 10.42 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.836e-05/0.003141, allocations: 15.98 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.003189, allocations: 4 kB / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.003203, allocations: 0 / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.003488, allocations: 267.4 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.003503, allocations: 7.984 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.003518, allocations: 9 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.003696, allocations: 155.5 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003697, allocations: 0 / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003698, allocations: 1.719 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003702, allocations: 3.938 kB / 0.7777 GB, free: 2.898 MB / 0.7292 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.0002724/0.003974, allocations: 260.6 kB / 0.7779 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.004005, allocations: 8.75 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.004029, allocations: 4.938 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.004101, allocations: 110.6 kB / 0.778 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.00411, allocations: 384 / 0.778 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.004128, allocations: 5.125 kB / 0.778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.353e-05/0.004201, allocations: 67.94 kB / 0.7781 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.004208, allocations: 2.875 kB / 0.7781 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.004214, allocations: 384 / 0.7781 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.004219, allocations: 384 / 0.7781 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.004241, allocations: 11.88 kB / 0.7781 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.196e-05/0.004323, allocations: 61.05 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.004453, allocations: 38.58 kB / 0.7782 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.00447, allocations: 19.61 kB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.004483, allocations: 4.078 kB / 0.7782 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.004502, allocations: 30.56 kB / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004503, allocations: 0 / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0004229/0.004926, allocations: 237 kB / 0.7785 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.004957, allocations: 61.72 kB / 0.7785 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.005005, allocations: 98.72 kB / 0.7786 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.005014, allocations: 25.7 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.005036, allocations: 80.14 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.00506, allocations: 27.77 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.005086, allocations: 17.72 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.005157, allocations: 323.9 kB / 0.7791 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.005168, allocations: 7.984 kB / 0.7791 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.005176, allocations: 4.062 kB / 0.7791 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.00521, allocations: 25.66 kB / 0.7791 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.005211, allocations: 0 / 0.7791 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.21e-05/0.005264, allocations: 58.09 kB / 0.7792 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.005273, allocations: 4 kB / 0.7792 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.005277, allocations: 0.875 kB / 0.7792 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.005288, allocations: 4 kB / 0.7792 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.128e-05/0.00532, allocations: 8.562 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.005323, allocations: 4.641 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-06/0.005332, allocations: 3.938 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.005336, allocations: 0.6875 kB / 0.7792 GB, free: 1.137 MB / 0.7292 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 4.774e-05/0.005384, allocations: 119.3 kB / 0.7793 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-06/0.00539, allocations: 4 kB / 0.7793 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.005459, allocations: 57.73 kB / 0.7794 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.005461, allocations: 4 kB / 0.7794 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005463, allocations: 0.6562 kB / 0.7794 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.005465, allocations: 0 / 0.7794 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.005623, allocations: 212.1 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005624, allocations: 1.344 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.005656, allocations: 8 kB / 0.7796 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.005657, allocations: 0 / 0.7796 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.005664, allocations: 8.859 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.005665, allocations: 0 / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005666, allocations: 0 / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.918e-05/0.005765, allocations: 165.1 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.005778, allocations: 8.938 kB / 0.7798 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.005787, allocations: 4 kB / 0.7798 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.005818, allocations: 1.75 kB / 0.7798 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.005831, allocations: 12.44 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.005834, allocations: 0 / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.366e-06/0.005842, allocations: 12.84 kB / 0.7798 GB, free: 488 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005842, allocations: 0 / 0.7798 GB, free: 488 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001297/0.005972, allocations: 20.5 kB / 0.7798 GB, free: 468 kB / 0.7292 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.0001108/0.006083, allocations: 105.4 kB / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.006146, allocations: 37.3 kB / 0.7799 GB, free: 316 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.006148, allocations: 0 / 0.7799 GB, free: 316 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.006162, allocations: 17.78 kB / 0.78 GB, free: 296 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.006264, allocations: 13.16 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.00664, allocations: 184.4 kB / 0.7802 GB, free: 88 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.006675, allocations: 57.89 kB / 0.7802 GB, free: 12 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.006694, allocations: 7.984 kB / 0.7802 GB, free: 4 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.006745, allocations: 55.38 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.006745, allocations: 0 / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.002079/0.008824, allocations: 0.7218 MB / 0.781 GB, free: 15.3 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.820787278935313]