Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.0009664/0.0009664, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002259, 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.001017/0.001017, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002378, 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.9172/0.9172, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.105/1.022, 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.817/1.817, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4557/2.273, allocations: 127.1 MB / 0.7435 GB, free: 4.52 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_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.7448 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.101e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001781/0.001802, allocations: 1.391 MB / 0.7462 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.002451, allocations: 0.5886 MB / 0.7468 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.002469, allocations: 1.094 kB / 0.7468 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.564e-06/0.002476, allocations: 1.312 kB / 0.7468 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.315e-05/0.0025, allocations: 4.594 kB / 0.7468 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.002837, allocations: 155.6 kB / 0.7469 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.015e-05/0.002897, allocations: 13.36 kB / 0.7469 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.002932, allocations: 9.484 kB / 0.7469 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.295e-05/0.002995, allocations: 13.86 kB / 0.747 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.003042, allocations: 4.422 kB / 0.747 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.003052, allocations: 4 kB / 0.747 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.003391, allocations: 332.2 kB / 0.7473 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.003408, allocations: 8 kB / 0.7473 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.003423, allocations: 4 kB / 0.7473 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.003615, allocations: 128.2 kB / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.003629, allocations: 0.5938 kB / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00363, allocations: 0 / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.003643, allocations: 0.6562 kB / 0.7474 GB, free: 0.5859 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.0004216/0.004064, allocations: 288.2 kB / 0.7477 GB, free: 284 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.004095, allocations: 8.594 kB / 0.7477 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.004126, allocations: 6.406 kB / 0.7477 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.004205, allocations: 113.7 kB / 0.7478 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.004214, allocations: 4.375 kB / 0.7478 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.004235, allocations: 384 / 0.7478 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.004312, allocations: 69.67 kB / 0.7479 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.004318, allocations: 192 / 0.7479 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.004325, allocations: 4.359 kB / 0.7479 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.00433, allocations: 384 / 0.7479 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.004349, allocations: 7.938 kB / 0.7479 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.212e-05/0.004441, allocations: 63.42 kB / 0.748 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.004582, allocations: 34.61 kB / 0.748 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.004598, allocations: 16.84 kB / 0.748 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.004614, allocations: 4 kB / 0.748 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.004635, allocations: 34.64 kB / 0.748 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004636, allocations: 2.062 kB / 0.748 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0004474/0.005083, allocations: 229 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.005106, allocations: 55.41 kB / 0.7483 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.616e-05/0.005152, allocations: 108.7 kB / 0.7484 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005162, allocations: 25.7 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.005181, allocations: 80.14 kB / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.005207, allocations: 27.83 kB / 0.7485 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.00523, allocations: 13.72 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.005299, allocations: 321.5 kB / 0.7489 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.005309, allocations: 7.984 kB / 0.7489 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.00532, allocations: 11.97 kB / 0.7489 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.00535, allocations: 24.84 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.005351, allocations: 0 / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.191e-05/0.005403, allocations: 49.62 kB / 0.749 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.005414, allocations: 4 kB / 0.749 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.005418, allocations: 3.312 kB / 0.749 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.005436, allocations: 4.188 kB / 0.749 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.005476, allocations: 8 kB / 0.749 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.005479, allocations: 3.984 kB / 0.749 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.026e-05/0.00549, allocations: 7.938 kB / 0.749 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.005493, allocations: 0 / 0.749 GB, free: 14.8 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.575e-05/0.005539, allocations: 109.8 kB / 0.7491 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.005546, allocations: 7.984 kB / 0.7491 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.005621, allocations: 62.58 kB / 0.7492 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005623, allocations: 0 / 0.7492 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005625, allocations: 4.688 kB / 0.7492 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.005628, allocations: 0 / 0.7492 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.005917, allocations: 212.1 kB / 0.7494 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.005919, allocations: 0.625 kB / 0.7494 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.005963, allocations: 12 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.005976, allocations: 12.77 kB / 0.7494 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.005978, allocations: 0 / 0.7494 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.005984, allocations: 0.5 kB / 0.7494 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.005987, allocations: 4.969 kB / 0.7494 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.005989, allocations: 4 kB / 0.7494 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.006088, allocations: 160.3 kB / 0.7495 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.006098, allocations: 4.906 kB / 0.7496 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.006132, allocations: 0 / 0.7496 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.006147, allocations: 13.11 kB / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.006151, allocations: 7.938 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.058e-05/0.006162, allocations: 8.859 kB / 0.7496 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006162, allocations: 0.5312 kB / 0.7496 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001656/0.006327, allocations: 39.8 kB / 0.7496 GB, free: 14.09 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.000177/0.006504, allocations: 133.3 kB / 0.7497 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.667e-05/0.006561, allocations: 26.23 kB / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.006565, allocations: 0 / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.006587, allocations: 24.78 kB / 0.7498 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.006697, allocations: 12.75 kB / 0.7498 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.00738, allocations: 160.3 kB / 0.75 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.00741, allocations: 59.34 kB / 0.75 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.007436, allocations: 5.969 kB / 0.75 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.007475, allocations: 55.38 kB / 0.7501 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/0.007476, allocations: 0 / 0.7501 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.002603/0.01008, allocations: 1.111 MB / 0.7512 GB, free: 12.55 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.625325045548379]