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_DerivativeCheck2.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.0008081/0.0008081, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001839, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007124/0.0007124, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009139/0.001626, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9822/0.9822, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08671/1.069, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.931/1.931, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4883/2.42, allocations: 127.1 MB / 0.7432 GB, free: 4.609 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.7445 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.944e-05, allocations: 4.562 kB / 0.7445 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001738/0.001758, allocations: 1.397 MB / 0.7459 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006494/0.002407, allocations: 0.5949 MB / 0.7464 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.002429, allocations: 0 / 0.7464 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-06/0.002439, allocations: 7.922 kB / 0.7465 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.177e-05/0.002461, allocations: 1.859 kB / 0.7465 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.002812, allocations: 153.7 kB / 0.7466 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.00287, allocations: 27.2 kB / 0.7466 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.002906, allocations: 4.719 kB / 0.7466 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.002961, allocations: 29.39 kB / 0.7467 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.003018, allocations: 4 kB / 0.7467 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.003028, allocations: 4 kB / 0.7467 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.003381, allocations: 331.3 kB / 0.747 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.003393, allocations: 5.062 kB / 0.747 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.00341, allocations: 8 kB / 0.747 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.00361, allocations: 143.5 kB / 0.7471 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.003625, allocations: 1.062 kB / 0.7471 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003626, allocations: 0 / 0.7471 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.003642, allocations: 0 / 0.7471 GB, free: 0.6328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003531/0.003995, allocations: 285.2 kB / 0.7474 GB, free: 336 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.004024, allocations: 12.03 kB / 0.7474 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.004051, allocations: 1.438 kB / 0.7474 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.004132, allocations: 122.3 kB / 0.7475 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.004141, allocations: 384 / 0.7475 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.004162, allocations: 5.344 kB / 0.7475 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.292e-05/0.004255, allocations: 97.66 kB / 0.7476 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.004263, allocations: 4.125 kB / 0.7476 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.00427, allocations: 7.469 kB / 0.7476 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.004276, allocations: 4.359 kB / 0.7477 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.004303, allocations: 11.94 kB / 0.7477 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.945e-05/0.004402, allocations: 61.05 kB / 0.7477 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.004475, allocations: 46.62 kB / 0.7478 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.004501, allocations: 20.84 kB / 0.7478 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.00452, allocations: 0 / 0.7478 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.004546, allocations: 42.34 kB / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.004547, allocations: 0 / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0007411/0.005288, allocations: 447.3 kB / 0.7483 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.005315, allocations: 54.06 kB / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.989e-05/0.005365, allocations: 106.6 kB / 0.7484 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.005375, allocations: 29.7 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.005394, allocations: 80.14 kB / 0.7485 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.005429, allocations: 43.62 kB / 0.7486 GB, free: 15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.005464, allocations: 25.7 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.005533, allocations: 319.4 kB / 0.7489 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.00555, allocations: 15.98 kB / 0.7489 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.005565, allocations: 12.56 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.005608, allocations: 46.17 kB / 0.749 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.005609, allocations: 0 / 0.749 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.421e-05/0.005673, allocations: 61.69 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.005687, allocations: 15.11 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.005691, allocations: 0 / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.005699, allocations: 0 / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.005771, allocations: 23.94 kB / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005776, allocations: 4.25 kB / 0.7491 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.005789, allocations: 3.984 kB / 0.7491 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.005794, allocations: 6.75 kB / 0.7491 GB, free: 14.46 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 (13): * Single equations (assignments): 13 * 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 5.255e-05/0.005847, allocations: 113.8 kB / 0.7492 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.005857, allocations: 12 kB / 0.7492 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.005951, allocations: 81.77 kB / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.005952, allocations: 0 / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005954, allocations: 0 / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.005958, allocations: 3.938 kB / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.006426, allocations: 224.6 kB / 0.7495 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.006427, allocations: 0 / 0.7495 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.006498, allocations: 27.92 kB / 0.7495 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.006505, allocations: 7.953 kB / 0.7495 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006507, allocations: 1.031 kB / 0.7495 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.006514, allocations: 3.938 kB / 0.7495 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.006517, allocations: 3.984 kB / 0.7495 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006518, allocations: 5 kB / 0.7495 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.00664, allocations: 179.5 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-06/0.006649, allocations: 0.5312 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.00669, allocations: 3.984 kB / 0.7497 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.006703, allocations: 8.875 kB / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.006709, allocations: 7.984 kB / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.308e-06/0.006718, allocations: 13.3 kB / 0.7497 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.006718, allocations: 0.875 kB / 0.7497 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001839/0.006902, allocations: 59.75 kB / 0.7498 GB, free: 13.67 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001766/0.007079, allocations: 157.4 kB / 0.7499 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.007158, allocations: 52.83 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.007164, allocations: 0 / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.007185, allocations: 29.44 kB / 0.75 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.007294, allocations: 17.28 kB / 0.75 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.008094, allocations: 190.8 kB / 0.7502 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.008125, allocations: 59.34 kB / 0.7503 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.678e-05/0.008162, allocations: 13.72 kB / 0.7503 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.008211, allocations: 63.36 kB / 0.7503 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.008211, allocations: 0.875 kB / 0.7503 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.003065/0.01128, allocations: 1.586 MB / 0.7519 GB, free: 11.59 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.814829702489078]