Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0006503/0.0006503, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008474/0.001498, allocations: 449.7 kB / 10.33 MB, free: 372 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.0006821/0.0006821, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000883/0.001565, allocations: 463.6 kB / 11.66 MB, free: 2.504 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.9331/0.9331, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09773/1.031, allocations: 53.66 MB / 243.2 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.798/1.798, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4673/2.265, allocations: 127.1 MB / 0.7432 GB, free: 4.621 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_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7444 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.214e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002648/0.00267, allocations: 1.411 MB / 0.7458 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.003572, allocations: 0.6098 MB / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.003596, allocations: 0 / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-06/0.003606, allocations: 0 / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.02e-05/0.003636, allocations: 6.234 kB / 0.7464 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.004074, allocations: 161.9 kB / 0.7465 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.004146, allocations: 37.27 kB / 0.7466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.004187, allocations: 0 / 0.7466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.945e-05/0.004247, allocations: 19.98 kB / 0.7466 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.004314, allocations: 11.97 kB / 0.7466 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.004328, allocations: 4 kB / 0.7466 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.00482, allocations: 331.2 kB / 0.7469 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.004835, allocations: 4 kB / 0.7469 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.004854, allocations: 10.84 kB / 0.7469 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.00511, allocations: 139.6 kB / 0.7471 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.005123, allocations: 0 / 0.7471 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005124, allocations: 0 / 0.7471 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.005137, allocations: 0 / 0.7471 GB, free: 0.668 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.0004188/0.005555, allocations: 288.2 kB / 0.7474 GB, free: 368 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.005587, allocations: 8.031 kB / 0.7474 GB, free: 360 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.005626, allocations: 10.94 kB / 0.7474 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.078e-05/0.005716, allocations: 109.7 kB / 0.7475 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.005728, allocations: 4.375 kB / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.005758, allocations: 4.375 kB / 0.7475 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.005875, allocations: 105.6 kB / 0.7476 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.005886, allocations: 2.438 kB / 0.7476 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.005893, allocations: 384 / 0.7476 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.005898, allocations: 384 / 0.7476 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.00593, allocations: 15.92 kB / 0.7476 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.006057, allocations: 73.06 kB / 0.7477 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.006148, allocations: 47.7 kB / 0.7477 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.006172, allocations: 12.86 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.006191, allocations: 7.938 kB / 0.7477 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.006215, allocations: 35.55 kB / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.006216, allocations: 0 / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.000978/0.007194, allocations: 438.5 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.007226, allocations: 56.52 kB / 0.7482 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.007289, allocations: 106.6 kB / 0.7483 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.007303, allocations: 29.64 kB / 0.7484 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.007329, allocations: 85.23 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.00737, allocations: 43.62 kB / 0.7485 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.007409, allocations: 26.78 kB / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.007502, allocations: 318.8 kB / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.007524, allocations: 12 kB / 0.7488 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.007543, allocations: 8.844 kB / 0.7488 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.007601, allocations: 43.02 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007602, allocations: 0 / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.285e-05/0.007695, allocations: 62.48 kB / 0.7489 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.00771, allocations: 8 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007714, allocations: 1.438 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.007724, allocations: 0 / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.007817, allocations: 35.92 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.007822, allocations: 3.938 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.007841, allocations: 4.656 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.007847, allocations: 0.6875 kB / 0.749 GB, free: 14.5 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 6.486e-05/0.007912, allocations: 119.5 kB / 0.7491 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.007929, allocations: 7.984 kB / 0.7491 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.008064, allocations: 73.73 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008066, allocations: 0 / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.008068, allocations: 4 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.008073, allocations: 8.891 kB / 0.7492 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.00835, allocations: 222.8 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.008352, allocations: 0.5625 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.008454, allocations: 27.92 kB / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.008456, allocations: 3.344 kB / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.008463, allocations: 0 / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.008465, allocations: 0 / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.008469, allocations: 7.922 kB / 0.7495 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.00863, allocations: 180.6 kB / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.008638, allocations: 4 kB / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.008651, allocations: 4 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.008715, allocations: 4 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.008735, allocations: 15.8 kB / 0.7497 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.008744, allocations: 10.75 kB / 0.7497 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.558e-06/0.008754, allocations: 4.859 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.008754, allocations: 0 / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002924/0.009046, allocations: 63.73 kB / 0.7497 GB, free: 13.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.000301/0.009347, allocations: 148.1 kB / 0.7499 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.009452, allocations: 54.84 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.009455, allocations: 0 / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.009492, allocations: 36.77 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.009656, allocations: 9.016 kB / 0.75 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.01027, allocations: 264.4 kB / 0.7502 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.291e-05/0.01032, allocations: 71.33 kB / 0.7503 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.01039, allocations: 63.38 kB / 0.7503 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/0.01039, allocations: 0.9375 kB / 0.7503 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.002836/0.01323, allocations: 1.449 MB / 0.7518 GB, free: 11.68 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.330838039517403]