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.0006817/0.0006817, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009733/0.001655, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000717/0.000717, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009998/0.001717, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9329/0.9329, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0897/1.023, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.828/1.828, allocations: 390 MB / 0.6194 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4987/2.326, allocations: 127.1 MB / 0.7435 GB, free: 4.551 MB / 0.7136 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.533e-06/1.533e-06, allocations: 0 / 0.7448 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.375e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002856/0.002879, allocations: 1.392 MB / 0.7462 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003902, allocations: 0.6009 MB / 0.7468 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.003922, allocations: 0 / 0.7468 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.003934, allocations: 6.594 kB / 0.7468 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.00397, allocations: 6.281 kB / 0.7468 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.004468, allocations: 161.8 kB / 0.7469 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.004541, allocations: 24.31 kB / 0.747 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.00458, allocations: 3.781 kB / 0.747 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.004658, allocations: 11.98 kB / 0.747 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.004715, allocations: 7.938 kB / 0.747 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004728, allocations: 0 / 0.747 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.005204, allocations: 259.5 kB / 0.7472 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.005224, allocations: 7.938 kB / 0.7472 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.00524, allocations: 4 kB / 0.7472 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.005499, allocations: 131.6 kB / 0.7474 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.005512, allocations: 0 / 0.7474 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005513, allocations: 0 / 0.7474 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.005528, allocations: 3.25 kB / 0.7474 GB, free: 0.6602 MB / 0.7136 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.0004295/0.005958, allocations: 280.2 kB / 0.7476 GB, free: 368 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.005992, allocations: 12.03 kB / 0.7477 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.006026, allocations: 0.9375 kB / 0.7477 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/0.006122, allocations: 109.8 kB / 0.7478 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.006133, allocations: 384 / 0.7478 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.006163, allocations: 12.34 kB / 0.7478 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.716e-05/0.00626, allocations: 67.95 kB / 0.7478 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.006268, allocations: 192 / 0.7478 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.006275, allocations: 3.125 kB / 0.7478 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.006281, allocations: 384 / 0.7478 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.006308, allocations: 11.88 kB / 0.7479 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.006411, allocations: 61.05 kB / 0.7479 GB, free: 40 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.006597, allocations: 34.61 kB / 0.7479 GB, free: 16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.006621, allocations: 12.86 kB / 0.748 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.00664, allocations: 5.578 kB / 0.748 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.006664, allocations: 30.56 kB / 0.748 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.006665, allocations: 0 / 0.748 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0006465/0.007312, allocations: 234.3 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.00734, allocations: 51.41 kB / 0.7483 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.007403, allocations: 108 kB / 0.7484 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.007416, allocations: 25.7 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.007442, allocations: 84.73 kB / 0.7485 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.007474, allocations: 23.78 kB / 0.7485 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.007509, allocations: 18.58 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.007642, allocations: 326.8 kB / 0.7488 GB, free: 15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.007658, allocations: 5.5 kB / 0.7488 GB, free: 15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.00767, allocations: 4 kB / 0.7488 GB, free: 15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.007714, allocations: 24.83 kB / 0.7489 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007715, allocations: 0 / 0.7489 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.128e-05/0.007796, allocations: 50.12 kB / 0.7489 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.007812, allocations: 10.03 kB / 0.7489 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007817, allocations: 0.875 kB / 0.7489 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007829, allocations: 3.938 kB / 0.7489 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.00789, allocations: 21.27 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.007893, allocations: 0 / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.007911, allocations: 3.938 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.007916, allocations: 0.9375 kB / 0.7489 GB, free: 14.88 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 6.498e-05/0.007981, allocations: 113.8 kB / 0.749 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.007993, allocations: 0.9062 kB / 0.7491 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.008101, allocations: 61.73 kB / 0.7491 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008103, allocations: 0 / 0.7491 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008105, allocations: 1.75 kB / 0.7491 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.008108, allocations: 4 kB / 0.7491 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.008337, allocations: 207.6 kB / 0.7493 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.008341, allocations: 4 kB / 0.7493 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.008411, allocations: 16.67 kB / 0.7493 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.008434, allocations: 4 kB / 0.7493 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008438, allocations: 0.75 kB / 0.7493 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.008446, allocations: 4 kB / 0.7493 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.00845, allocations: 5.719 kB / 0.7493 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.008452, allocations: 0 / 0.7493 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.008602, allocations: 161.5 kB / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.008618, allocations: 0 / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.008684, allocations: 0.5625 kB / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.008706, allocations: 15.92 kB / 0.7495 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.008713, allocations: 0.75 kB / 0.7495 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.642e-05/0.008729, allocations: 16.47 kB / 0.7495 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.008729, allocations: 0 / 0.7495 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002579/0.008987, allocations: 35.86 kB / 0.7496 GB, free: 14.19 MB / 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.0002275/0.009214, allocations: 120.2 kB / 0.7497 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.485e-05/0.009309, allocations: 40.94 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.009318, allocations: 8 kB / 0.7497 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.00935, allocations: 20.84 kB / 0.7497 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.009523, allocations: 11.88 kB / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.01059, allocations: 149.3 kB / 0.7499 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.01063, allocations: 63.34 kB / 0.75 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.01067, allocations: 8.906 kB / 0.75 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.01072, allocations: 59.31 kB / 0.75 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.01072, allocations: 1.594 kB / 0.75 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.003652/0.01437, allocations: 0.9628 MB / 0.751 GB, free: 12.78 MB / 0.7292 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.651678039692342]