Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001005/0.001005, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001052/0.001052, allocations: 161 kB / 24.16 MB, free: 336 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.9315/0.9315, allocations: 177.1 MB / 204.6 MB, free: 5.5 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.847/1.847, allocations: 389.6 MB / 0.6354 GB, free: 12.33 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.7752 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.802e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001521/0.001539, allocations: 1.339 MB / 0.7765 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006548/0.002194, allocations: 0.5813 MB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.002212, allocations: 2.438 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.002225, allocations: 0 / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.002256, allocations: 1.75 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.002623, allocations: 146.6 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.002675, allocations: 30.89 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.002709, allocations: 7.984 kB / 0.7772 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.002756, allocations: 15.98 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.002794, allocations: 4 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.002805, allocations: 0 / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.003072, allocations: 271.4 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.003085, allocations: 4 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.003099, allocations: 7.984 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.003268, allocations: 156.1 kB / 0.7777 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003269, allocations: 0 / 0.7777 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00327, allocations: 0.5938 kB / 0.7777 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.003273, allocations: 3.406 kB / 0.7777 GB, free: 2.895 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.0002468/0.00352, allocations: 260.6 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.003551, allocations: 13.34 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.016e-05/0.003571, allocations: 0.9375 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.339e-05/0.003634, allocations: 109.8 kB / 0.778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.003643, allocations: 4.375 kB / 0.778 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.003668, allocations: 8.359 kB / 0.778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/0.003748, allocations: 63.89 kB / 0.7781 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.003756, allocations: 4.172 kB / 0.7781 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.003763, allocations: 3.719 kB / 0.7781 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.003768, allocations: 384 / 0.7781 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.003789, allocations: 7.938 kB / 0.7781 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.465e-05/0.003884, allocations: 69.05 kB / 0.7782 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.004021, allocations: 34.59 kB / 0.7782 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.004041, allocations: 12.86 kB / 0.7782 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.004054, allocations: 8.016 kB / 0.7782 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.004077, allocations: 34.56 kB / 0.7783 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.004079, allocations: 1.156 kB / 0.7783 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0004089/0.004487, allocations: 229.6 kB / 0.7785 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.004514, allocations: 56.03 kB / 0.7785 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.882e-05/0.004553, allocations: 98.72 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.004562, allocations: 30.61 kB / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.004581, allocations: 80.14 kB / 0.7787 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.004609, allocations: 28.3 kB / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.004633, allocations: 17.72 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.004697, allocations: 319.3 kB / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.004707, allocations: 9.672 kB / 0.7791 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.004715, allocations: 11.94 kB / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.004742, allocations: 20.84 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.004742, allocations: 0 / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.6e-05/0.004788, allocations: 45.69 kB / 0.7792 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.004798, allocations: 4.688 kB / 0.7792 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.004801, allocations: 0.9375 kB / 0.7792 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.00481, allocations: 4 kB / 0.7792 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.061e-05/0.00484, allocations: 19.88 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.004843, allocations: 2.016 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158e-05/0.004855, allocations: 7.922 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.00486, allocations: 4.047 kB / 0.7792 GB, free: 1.125 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.149e-05/0.004902, allocations: 113.8 kB / 0.7793 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.00491, allocations: 13.59 kB / 0.7793 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.004973, allocations: 53.8 kB / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.004975, allocations: 4.516 kB / 0.7794 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.004977, allocations: 0 / 0.7794 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004979, allocations: 0.8125 kB / 0.7794 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.005128, allocations: 207.6 kB / 0.7796 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005129, allocations: 0.875 kB / 0.7796 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.00516, allocations: 8 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005162, allocations: 0.5625 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.005169, allocations: 7.984 kB / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.005171, allocations: 4.719 kB / 0.7796 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.005172, allocations: 3.984 kB / 0.7796 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.555e-05/0.005268, allocations: 165.4 kB / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.005279, allocations: 0 / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.005288, allocations: 9.469 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.299e-05/0.005321, allocations: 0 / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.005334, allocations: 11.92 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.005337, allocations: 0 / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.655e-06/0.005345, allocations: 9.891 kB / 0.7798 GB, free: 480 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005345, allocations: 0 / 0.7798 GB, free: 480 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001337/0.005479, allocations: 19.94 kB / 0.7798 GB, free: 460 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001089/0.005587, allocations: 105.3 kB / 0.7799 GB, free: 348 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.981e-05/0.005637, allocations: 29.34 kB / 0.7799 GB, free: 316 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.00564, allocations: 4 kB / 0.78 GB, free: 312 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.457e-05/0.005654, allocations: 21.88 kB / 0.78 GB, free: 288 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.875e-05/0.005753, allocations: 4.938 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.006111, allocations: 190.3 kB / 0.7802 GB, free: 84 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.006139, allocations: 59.36 kB / 0.7802 GB, free: 4 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.006171, allocations: 8.047 kB / 0.7802 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.006205, allocations: 59.31 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.006205, allocations: 0 / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.002056/0.008262, allocations: 0.7529 MB / 0.781 GB, free: 15.26 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.794365026988089]