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.0008563/0.0008563, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009807/0.0009807, allocations: 165 kB / 24.25 MB, free: 208 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.9156/0.9156, allocations: 177.1 MB / 204.7 MB, free: 5.465 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.869/1.869, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.162e-06/1.162e-06, allocations: 0 / 0.7754 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.461e-05, allocations: 6.906 kB / 0.7754 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001573/0.001587, allocations: 1.376 MB / 0.7767 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000703/0.00229, allocations: 0.5734 MB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.002316, allocations: 1.406 kB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.002332, allocations: 0 / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.002378, allocations: 5.625 kB / 0.7773 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.0028, allocations: 148 kB / 0.7774 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.438e-05/0.002855, allocations: 19.92 kB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.002888, allocations: 11.98 kB / 0.7775 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.002939, allocations: 7.984 kB / 0.7775 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.844e-05/0.002978, allocations: 6.75 kB / 0.7775 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.002989, allocations: 0 / 0.7775 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.003286, allocations: 279.4 kB / 0.7777 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.0033, allocations: 3.984 kB / 0.7777 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.003317, allocations: 11.94 kB / 0.7778 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.003489, allocations: 151.5 kB / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003492, allocations: 0 / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003492, allocations: 0 / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003495, allocations: 3.344 kB / 0.7779 GB, free: 2.75 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.0002527/0.003748, allocations: 264.6 kB / 0.7782 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.003782, allocations: 8.75 kB / 0.7782 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.003803, allocations: 0.9375 kB / 0.7782 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.378e-05/0.003867, allocations: 113.7 kB / 0.7783 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.003876, allocations: 4.312 kB / 0.7783 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.003893, allocations: 4.375 kB / 0.7783 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.947e-05/0.003963, allocations: 63.95 kB / 0.7783 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.003968, allocations: 1.781 kB / 0.7783 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.003974, allocations: 384 / 0.7783 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003979, allocations: 4.375 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.003995, allocations: 7.938 kB / 0.7784 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.673e-05/0.004072, allocations: 57.05 kB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.004188, allocations: 47.19 kB / 0.7785 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.004206, allocations: 18.23 kB / 0.7785 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.004218, allocations: 0 / 0.7785 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.004236, allocations: 34.56 kB / 0.7785 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.004237, allocations: 1.531 kB / 0.7785 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003896/0.004627, allocations: 233 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.004656, allocations: 52.75 kB / 0.7788 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.378e-05/0.004699, allocations: 98.72 kB / 0.7789 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.00471, allocations: 25.7 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.004732, allocations: 88.78 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.004757, allocations: 23.78 kB / 0.779 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.004781, allocations: 22.84 kB / 0.779 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.004855, allocations: 326.7 kB / 0.7793 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.004866, allocations: 4 kB / 0.7793 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.004875, allocations: 9 kB / 0.7794 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.004906, allocations: 24.91 kB / 0.7794 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.004907, allocations: 0 / 0.7794 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.105e-05/0.004958, allocations: 50.19 kB / 0.7794 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.004968, allocations: 4.781 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004972, allocations: 0 / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.004979, allocations: 1.062 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.46e-05/0.005013, allocations: 19.92 kB / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.005016, allocations: 0 / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.005026, allocations: 4.531 kB / 0.7795 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.005029, allocations: 0 / 0.7795 GB, free: 0.9844 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.502e-05/0.005074, allocations: 118.4 kB / 0.7796 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-06/0.005079, allocations: 1.781 kB / 0.7796 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.717e-05/0.005146, allocations: 62.02 kB / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.005147, allocations: 0 / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005148, allocations: 0 / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005151, allocations: 0 / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.005298, allocations: 218.8 kB / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.005299, allocations: 0 / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.005332, allocations: 15.98 kB / 0.7799 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.005333, allocations: 3.938 kB / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.005338, allocations: 0 / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.00534, allocations: 4 kB / 0.7799 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005341, allocations: 0 / 0.7799 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.117e-05/0.005432, allocations: 160.3 kB / 0.78 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.005442, allocations: 3.031 kB / 0.78 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.00545, allocations: 4.188 kB / 0.78 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.219e-05/0.005483, allocations: 4 kB / 0.78 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.005497, allocations: 15.92 kB / 0.78 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.0055, allocations: 0 / 0.78 GB, free: 344 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.374e-06/0.005508, allocations: 9.375 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005508, allocations: 0 / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001291/0.005637, allocations: 19.88 kB / 0.7801 GB, free: 312 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.0001085/0.005745, allocations: 109.8 kB / 0.7802 GB, free: 196 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.622e-05/0.005802, allocations: 28.8 kB / 0.7802 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.005804, allocations: 1.125 kB / 0.7802 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.005818, allocations: 20.78 kB / 0.7802 GB, free: 140 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.805e-05/0.005916, allocations: 9.094 kB / 0.7802 GB, free: 132 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.006296, allocations: 187.8 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.926e-05/0.006326, allocations: 59.34 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.786e-05/0.006344, allocations: 5.406 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.00638, allocations: 56.66 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/0.00638, allocations: 0 / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.00212/0.0085, allocations: 0.7275 MB / 0.7812 GB, free: 15.14 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.811382902786136]