Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001161/0.001161, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 13.93 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.0009614/0.0009614, allocations: 213.1 kB / 23 MB, free: 2.949 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.9793/0.9793, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.51/2.51, allocations: 0.5701 GB / 0.876 GB, free: 16.54 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004687/0.004687, allocations: 76.12 kB / 1.275 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.4007, allocations: 196.8 MB / 1.467 GB, free: 3.777 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.00199/0.4027, allocations: 1.346 MB / 1.468 GB, free: 2.422 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0007438/0.4035, allocations: 0.5701 MB / 1.469 GB, free: 1.852 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.4035, allocations: 0 / 1.469 GB, free: 1.852 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.4035, allocations: 3.938 kB / 1.469 GB, free: 1.848 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.4036, allocations: 0 / 1.469 GB, free: 1.848 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.404, allocations: 163.3 kB / 1.469 GB, free: 1.688 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.4041, allocations: 19.94 kB / 1.469 GB, free: 1.668 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.4041, allocations: 4 kB / 1.469 GB, free: 1.664 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.4042, allocations: 7.984 kB / 1.469 GB, free: 1.656 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.4042, allocations: 11.92 kB / 1.469 GB, free: 1.645 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.4042, allocations: 0 / 1.469 GB, free: 1.645 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.4046, allocations: 315.4 kB / 1.469 GB, free: 1.336 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.4046, allocations: 0 / 1.469 GB, free: 1.336 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.4046, allocations: 15.94 kB / 1.469 GB, free: 1.32 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.4048, allocations: 135.6 kB / 1.47 GB, free: 1.188 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4048, allocations: 0 / 1.47 GB, free: 1.188 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4048, allocations: 4 kB / 1.47 GB, free: 1.184 MB / 1.135 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4048, allocations: 0 / 1.47 GB, free: 1.184 MB / 1.135 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.0003399/0.4051, allocations: 293.8 kB / 1.47 GB, free: 0.8633 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4052, allocations: 15.98 kB / 1.47 GB, free: 0.8477 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.4052, allocations: 0.9375 kB / 1.47 GB, free: 0.8477 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.4053, allocations: 110.5 kB / 1.47 GB, free: 0.7148 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.4053, allocations: 4.375 kB / 1.47 GB, free: 0.7109 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.4053, allocations: 384 / 1.47 GB, free: 0.7109 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.4054, allocations: 71.89 kB / 1.47 GB, free: 0.6289 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4054, allocations: 192 / 1.47 GB, free: 0.6289 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4054, allocations: 3.938 kB / 1.47 GB, free: 0.625 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4054, allocations: 8 kB / 1.47 GB, free: 0.6172 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.4055, allocations: 11.98 kB / 1.47 GB, free: 0.6055 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.4056, allocations: 101.3 kB / 1.47 GB, free: 488 kB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.4057, allocations: 46.55 kB / 1.47 GB, free: 432 kB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.4058, allocations: 20.94 kB / 1.47 GB, free: 408 kB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.4058, allocations: 0 / 1.47 GB, free: 408 kB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.4058, allocations: 34.56 kB / 1.47 GB, free: 364 kB / 1.135 GB Notification: Performance of pre-optimization done (n=4): time 5.11e-07/0.4058, allocations: 0 / 1.47 GB, free: 364 kB / 1.135 GB Notification: Performance of matching and sorting (n=6): time 0.0004634/0.4063, allocations: 241 kB / 1.471 GB, free: 88 kB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.4063, allocations: 59.41 kB / 1.471 GB, free: 16 kB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.4064, allocations: 101.8 kB / 1.471 GB, free: 15.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.4064, allocations: 33.64 kB / 1.471 GB, free: 15.87 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.4064, allocations: 80.14 kB / 1.471 GB, free: 15.79 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.4064, allocations: 19.84 kB / 1.471 GB, free: 15.77 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.4064, allocations: 17.72 kB / 1.471 GB, free: 15.74 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.4065, allocations: 314.8 kB / 1.471 GB, free: 15.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.4065, allocations: 15.98 kB / 1.471 GB, free: 15.41 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.4065, allocations: 8 kB / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.4066, allocations: 28.86 kB / 1.471 GB, free: 15.37 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4066, allocations: 4 kB / 1.471 GB, free: 15.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.501e-05/0.4066, allocations: 65.67 kB / 1.471 GB, free: 15.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4067, allocations: 8 kB / 1.471 GB, free: 15.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4067, allocations: 3.938 kB / 1.471 GB, free: 15.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4067, allocations: 0 / 1.471 GB, free: 15.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.626e-05/0.4067, allocations: 15.92 kB / 1.471 GB, free: 15.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4067, allocations: 0 / 1.471 GB, free: 15.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.4067, allocations: 8 kB / 1.471 GB, free: 15.26 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.4067, allocations: 0 / 1.471 GB, free: 15.26 MB / 1.151 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.778e-05/0.4068, allocations: 113.8 kB / 1.471 GB, free: 15.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.4068, allocations: 7.953 kB / 1.471 GB, free: 15.13 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.391e-05/0.4069, allocations: 85.55 kB / 1.471 GB, free: 15.04 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4069, allocations: 4 kB / 1.471 GB, free: 15.04 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4069, allocations: 0 / 1.471 GB, free: 15.04 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4069, allocations: 0 / 1.471 GB, free: 15.04 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.4071, allocations: 251.1 kB / 1.472 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4071, allocations: 3.938 kB / 1.472 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.4071, allocations: 20.11 kB / 1.472 GB, free: 14.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4071, allocations: 0 / 1.472 GB, free: 14.73 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4072, allocations: 4 kB / 1.472 GB, free: 14.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4072, allocations: 0 / 1.472 GB, free: 14.72 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4072, allocations: 8.031 kB / 1.472 GB, free: 14.71 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.4073, allocations: 168.4 kB / 1.472 GB, free: 14.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.4073, allocations: 15.91 kB / 1.472 GB, free: 14.52 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.4073, allocations: 0 / 1.472 GB, free: 14.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.4073, allocations: 8 kB / 1.472 GB, free: 14.51 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.4074, allocations: 7.922 kB / 1.472 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4074, allocations: 4 kB / 1.472 GB, free: 14.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.087e-05/0.4074, allocations: 79.22 kB / 1.472 GB, free: 14.42 MB / 1.151 GB Notification: Performance of sort global known variables: time 6e-08/0.4074, allocations: 4 kB / 1.472 GB, free: 14.41 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001761/0.4076, allocations: 31.88 kB / 1.472 GB, free: 14.38 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.000153/0.4077, allocations: 139.1 kB / 1.472 GB, free: 14.24 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.094e-05/0.4078, allocations: 27.98 kB / 1.472 GB, free: 14.21 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.4078, allocations: 0 / 1.472 GB, free: 14.21 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.4078, allocations: 19.94 kB / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.408, allocations: 7.938 kB / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.4083, allocations: 234.8 kB / 1.472 GB, free: 13.92 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.4083, allocations: 67.34 kB / 1.473 GB, free: 13.84 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.4084, allocations: 11.44 kB / 1.473 GB, free: 13.82 MB / 1.151 GB Notification: Performance of SimCode: time 5.1e-07/0.4084, allocations: 0 / 1.473 GB, free: 13.82 MB / 1.151 GB Notification: Performance of Templates: time 0.001898/0.4103, allocations: 0.9435 MB / 1.473 GB, free: 12.89 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.607335523702204]