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.001037/0.001037, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001917/0.002955, 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.001009/0.001009, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.002341, 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.8953/0.8953, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/0.98, 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.915/1.915, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4738/2.389, allocations: 127.1 MB / 0.7432 GB, free: 4.605 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.913e-06/1.913e-06, allocations: 0.6562 kB / 0.7445 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.802e-05, allocations: 6.312 kB / 0.7445 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002611/0.002639, allocations: 1.407 MB / 0.7459 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003652, allocations: 0.6105 MB / 0.7465 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.003676, allocations: 0 / 0.7465 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.003688, allocations: 3.938 kB / 0.7465 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.423e-05/0.003722, allocations: 10.17 kB / 0.7465 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.004262, allocations: 159.6 kB / 0.7466 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.004341, allocations: 29.83 kB / 0.7467 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.004383, allocations: 4 kB / 0.7467 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.004447, allocations: 23.91 kB / 0.7467 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.004521, allocations: 11.98 kB / 0.7467 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.004534, allocations: 0 / 0.7467 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.005094, allocations: 328 kB / 0.747 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.00511, allocations: 3.938 kB / 0.747 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.005128, allocations: 8.562 kB / 0.747 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.005394, allocations: 144.8 kB / 0.7472 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.782e-05/0.005412, allocations: 0 / 0.7472 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.11e-07/0.005413, allocations: 0 / 0.7472 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.005433, allocations: 0 / 0.7472 GB, free: 0.6094 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.0004685/0.005902, allocations: 293.7 kB / 0.7474 GB, free: 304 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.005942, allocations: 8.031 kB / 0.7475 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.00598, allocations: 4.938 kB / 0.7475 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.006081, allocations: 112.2 kB / 0.7476 GB, free: 156 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.006098, allocations: 8.312 kB / 0.7476 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.006128, allocations: 8.359 kB / 0.7476 GB, free: 140 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.006253, allocations: 97.64 kB / 0.7477 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.006265, allocations: 192 / 0.7477 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.006274, allocations: 4.375 kB / 0.7477 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.00628, allocations: 384 / 0.7477 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.006321, allocations: 18.02 kB / 0.7477 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.006454, allocations: 65.05 kB / 0.7478 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.006556, allocations: 46.56 kB / 0.7478 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.00659, allocations: 24.84 kB / 0.7478 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.006612, allocations: 1.531 kB / 0.7478 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.006639, allocations: 34.56 kB / 0.7479 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.006641, allocations: 0 / 0.7479 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001095/0.007736, allocations: 438.5 kB / 0.7483 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.007773, allocations: 63.34 kB / 0.7483 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.007838, allocations: 102.2 kB / 0.7484 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.007852, allocations: 29.7 kB / 0.7485 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.007879, allocations: 84.12 kB / 0.7485 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.007921, allocations: 39.64 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.007964, allocations: 25.7 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.008056, allocations: 322.8 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.008079, allocations: 12 kB / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.0081, allocations: 11.98 kB / 0.7489 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.008158, allocations: 34.91 kB / 0.749 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008159, allocations: 0.7188 kB / 0.749 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001008/0.00826, allocations: 78.3 kB / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.008274, allocations: 4 kB / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.008279, allocations: 0.5312 kB / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.008291, allocations: 7.984 kB / 0.7491 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.008389, allocations: 25.48 kB / 0.7491 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.008393, allocations: 3.938 kB / 0.7491 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.008415, allocations: 4 kB / 0.7491 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.008421, allocations: 0 / 0.7491 GB, free: 14.44 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.302e-05/0.008484, allocations: 114.8 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.0085, allocations: 8.578 kB / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.008636, allocations: 81.72 kB / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.008638, allocations: 0.5938 kB / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.00864, allocations: 0 / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.008646, allocations: 4.719 kB / 0.7493 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.008894, allocations: 230.7 kB / 0.7495 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008896, allocations: 1.25 kB / 0.7495 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.008982, allocations: 20 kB / 0.7495 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.008993, allocations: 11.94 kB / 0.7495 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008995, allocations: 0.6875 kB / 0.7495 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.009003, allocations: 7.938 kB / 0.7495 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.009005, allocations: 1.406 kB / 0.7496 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009006, allocations: 0 / 0.7496 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.009144, allocations: 171.5 kB / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.009156, allocations: 8.469 kB / 0.7497 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.009212, allocations: 4 kB / 0.7497 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.009229, allocations: 12.86 kB / 0.7497 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.009235, allocations: 0 / 0.7497 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.066e-05/0.009246, allocations: 10.45 kB / 0.7497 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009246, allocations: 3.938 kB / 0.7498 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002438/0.00949, allocations: 63.73 kB / 0.7498 GB, free: 13.65 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.0002212/0.009711, allocations: 160.5 kB / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.757e-05/0.009798, allocations: 48.16 kB / 0.75 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.009805, allocations: 4 kB / 0.75 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.009833, allocations: 26.88 kB / 0.75 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.009971, allocations: 16.77 kB / 0.7501 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.01117, allocations: 194.2 kB / 0.7502 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.01121, allocations: 55.36 kB / 0.7503 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.01125, allocations: 13.39 kB / 0.7503 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.0113, allocations: 59.97 kB / 0.7504 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.01131, allocations: 0 / 0.7504 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.00401/0.01532, allocations: 1.56 MB / 0.7519 GB, free: 11.6 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.743419538252056]