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.0008764/0.0008764, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002135, 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.0006949/0.0006949, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000985/0.00168, 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.9146/0.9146, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.021, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.908/1.908, allocations: 390 MB / 0.6194 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4585/2.367, allocations: 127.1 MB / 0.7435 GB, free: 4.516 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.222e-06/1.222e-06, allocations: 0 / 0.7448 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.113e-05, allocations: 5.578 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_DerivativeCheck2): time 0.001683/0.001704, allocations: 1.397 MB / 0.7462 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.002359, allocations: 0.5942 MB / 0.7468 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.002381, allocations: 0 / 0.7468 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.105e-06/0.002389, allocations: 3.984 kB / 0.7468 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.437e-05/0.002413, allocations: 10.17 kB / 0.7468 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.002797, allocations: 147.1 kB / 0.7469 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.00286, allocations: 34.31 kB / 0.747 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.002898, allocations: 4.594 kB / 0.747 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.002947, allocations: 16.86 kB / 0.747 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.003008, allocations: 17.17 kB / 0.747 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.003018, allocations: 4.656 kB / 0.747 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.003379, allocations: 323.4 kB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.003398, allocations: 5.5 kB / 0.7473 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.003416, allocations: 4 kB / 0.7473 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.003614, allocations: 139.5 kB / 0.7475 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/0.003628, allocations: 0 / 0.7475 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003629, allocations: 1 kB / 0.7475 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.003641, allocations: 0 / 0.7475 GB, free: 0.543 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.0003598/0.004001, allocations: 296.3 kB / 0.7477 GB, free: 232 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.00403, allocations: 9.219 kB / 0.7477 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.004062, allocations: 8.938 kB / 0.7478 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.214e-05/0.004144, allocations: 121.6 kB / 0.7479 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.004153, allocations: 5.594 kB / 0.7479 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.004178, allocations: 8.375 kB / 0.7479 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.00428, allocations: 93.64 kB / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.004289, allocations: 1.125 kB / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.004297, allocations: 4.375 kB / 0.748 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004303, allocations: 5.094 kB / 0.748 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.004327, allocations: 15.92 kB / 0.748 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.38e-05/0.004421, allocations: 68.55 kB / 0.7481 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.47e-05/0.004496, allocations: 50.56 kB / 0.7481 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.004515, allocations: 16.84 kB / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.004532, allocations: 8 kB / 0.7481 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004551, allocations: 30.56 kB / 0.7482 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.004552, allocations: 0 / 0.7482 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0007447/0.005297, allocations: 446.6 kB / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.005324, allocations: 55.41 kB / 0.7486 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/0.005375, allocations: 102.7 kB / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005385, allocations: 28.83 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.005406, allocations: 88.11 kB / 0.7489 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.005439, allocations: 35.66 kB / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.005473, allocations: 33.69 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.005542, allocations: 318.8 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.005558, allocations: 15.98 kB / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.005573, allocations: 8 kB / 0.7492 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.005613, allocations: 38.7 kB / 0.7493 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.005614, allocations: 0 / 0.7493 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.607e-05/0.00568, allocations: 69.52 kB / 0.7493 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.005693, allocations: 6.031 kB / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.005697, allocations: 4.312 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005708, allocations: 0 / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.005776, allocations: 23.98 kB / 0.7494 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.005779, allocations: 3.938 kB / 0.7494 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.005793, allocations: 4 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.0058, allocations: 7.984 kB / 0.7494 GB, free: 14.36 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.143e-05/0.005851, allocations: 113.8 kB / 0.7495 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-06/0.00586, allocations: 7.625 kB / 0.7495 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.516e-05/0.005955, allocations: 81.72 kB / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.005956, allocations: 0 / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.005958, allocations: 0 / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.005963, allocations: 7.922 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.006158, allocations: 226.8 kB / 0.7498 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.00616, allocations: 0 / 0.7498 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.006226, allocations: 27.98 kB / 0.7498 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.006235, allocations: 11.95 kB / 0.7499 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006237, allocations: 0 / 0.7499 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.006247, allocations: 6.688 kB / 0.7499 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.006249, allocations: 0 / 0.7499 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00625, allocations: 0 / 0.7499 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.00637, allocations: 183.4 kB / 0.75 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.00638, allocations: 3.984 kB / 0.75 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.006421, allocations: 4 kB / 0.75 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.006435, allocations: 11.92 kB / 0.7501 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.00644, allocations: 1.344 kB / 0.7501 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.2e-05/0.006452, allocations: 8.859 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.006452, allocations: 0 / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000204/0.006656, allocations: 60.91 kB / 0.7501 GB, free: 13.57 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.0002026/0.006859, allocations: 164 kB / 0.7503 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.583e-05/0.006945, allocations: 51.66 kB / 0.7503 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.00695, allocations: 0 / 0.7503 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.006981, allocations: 37.38 kB / 0.7504 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.007094, allocations: 17.45 kB / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.007886, allocations: 186.7 kB / 0.7506 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.276e-05/0.007918, allocations: 60.78 kB / 0.7506 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.007956, allocations: 12.59 kB / 0.7506 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.008005, allocations: 64.05 kB / 0.7507 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.008005, allocations: 0 / 0.7507 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.003334/0.01134, allocations: 1.6 MB / 0.7523 GB, free: 11.47 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.76955268252641]