Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009858/0.0009858, allocations: 83.67 kB / 21.81 MB, free: 2.496 MB / 18.57 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.0009536/0.0009536, allocations: 166.5 kB / 25.28 MB, free: 8.957 MB / 18.57 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.9176/0.9176, allocations: 177.2 MB / 205.8 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.807/1.807, allocations: 378.2 MB / 0.6255 GB, free: 8.613 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.02e-07/8.02e-07, allocations: 0 / 0.7618 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.117e-05, allocations: 6.25 kB / 0.7618 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.001632/0.001643, allocations: 1.392 MB / 0.7631 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.002327, allocations: 0.5993 MB / 0.7637 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.002347, allocations: 0 / 0.7637 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.045e-05/0.002358, allocations: 0 / 0.7637 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.002384, allocations: 7.922 kB / 0.7637 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.00272, allocations: 155.2 kB / 0.7639 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.765e-05/0.002758, allocations: 23.92 kB / 0.7639 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.121e-05/0.002779, allocations: 7.922 kB / 0.7639 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.002815, allocations: 8 kB / 0.7639 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.945e-05/0.002844, allocations: 15.92 kB / 0.7639 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-06/0.002851, allocations: 0 / 0.7639 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.003154, allocations: 323.3 kB / 0.7642 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.003165, allocations: 4 kB / 0.7642 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.058e-05/0.003176, allocations: 4 kB / 0.7642 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.003339, allocations: 171.4 kB / 0.7644 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.00334, allocations: 0 / 0.7644 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.91e-07/0.003341, allocations: 0 / 0.7644 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.014e-06/0.003343, allocations: 0 / 0.7644 GB, free: 10.13 MB / 0.7292 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.0002045/0.003547, allocations: 256.3 kB / 0.7646 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.401e-05/0.003571, allocations: 8.031 kB / 0.7647 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.003589, allocations: 4.922 kB / 0.7647 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.812e-05/0.003647, allocations: 114 kB / 0.7648 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.003653, allocations: 4.312 kB / 0.7648 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.003667, allocations: 4.375 kB / 0.7648 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.713e-05/0.003724, allocations: 67.89 kB / 0.7648 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.003729, allocations: 4.188 kB / 0.7648 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-06/0.003734, allocations: 384 / 0.7648 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.003741, allocations: 4.375 kB / 0.7648 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.003756, allocations: 11.92 kB / 0.7649 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.366e-05/0.00382, allocations: 69.03 kB / 0.7649 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.003917, allocations: 38.59 kB / 0.765 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.00393, allocations: 8.859 kB / 0.765 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.003938, allocations: 0 / 0.765 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.003956, allocations: 38.5 kB / 0.765 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.003957, allocations: 4 kB / 0.765 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003348/0.004292, allocations: 225.2 kB / 0.7652 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.004314, allocations: 51.41 kB / 0.7653 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.998e-05/0.004354, allocations: 106.7 kB / 0.7654 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.004363, allocations: 25.7 kB / 0.7654 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.004382, allocations: 84.14 kB / 0.7655 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.0044, allocations: 19.8 kB / 0.7655 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.004423, allocations: 25.69 kB / 0.7655 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.004493, allocations: 318.8 kB / 0.7658 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.0045, allocations: 8 kB / 0.7658 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-06/0.00451, allocations: 11.92 kB / 0.7658 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.004537, allocations: 24.83 kB / 0.7659 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.004538, allocations: 0 / 0.7659 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.237e-05/0.00458, allocations: 45.69 kB / 0.7659 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.004589, allocations: 8 kB / 0.7659 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.004591, allocations: 0 / 0.7659 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/0.004598, allocations: 3.984 kB / 0.7659 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.234e-05/0.00463, allocations: 12 kB / 0.7659 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.004634, allocations: 3.938 kB / 0.7659 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/0.004642, allocations: 3.938 kB / 0.7659 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.004645, allocations: 4 kB / 0.7659 GB, free: 8.355 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 (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.55e-05/0.004691, allocations: 113.8 kB / 0.7661 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.004699, allocations: 7.984 kB / 0.7661 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.004759, allocations: 49.81 kB / 0.7661 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.00476, allocations: 3.938 kB / 0.7661 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.004762, allocations: 4 kB / 0.7661 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004764, allocations: 0 / 0.7661 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.004905, allocations: 211.6 kB / 0.7663 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.004907, allocations: 7.984 kB / 0.7663 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.004938, allocations: 12.03 kB / 0.7663 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.004941, allocations: 4 kB / 0.7663 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-06/0.004944, allocations: 192 / 0.7663 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.004946, allocations: 4 kB / 0.7663 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.004948, allocations: 3.938 kB / 0.7664 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.653e-05/0.005034, allocations: 160.3 kB / 0.7665 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.005046, allocations: 7.984 kB / 0.7665 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-06/0.005053, allocations: 0 / 0.7665 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.057e-05/0.005083, allocations: 0.5156 kB / 0.7665 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.005095, allocations: 11.94 kB / 0.7665 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.005098, allocations: 0 / 0.7665 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.608e-06/0.005107, allocations: 24.84 kB / 0.7665 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005107, allocations: 0 / 0.7665 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001584/0.005266, allocations: 39.81 kB / 0.7666 GB, free: 7.637 MB / 0.7292 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.000123/0.005389, allocations: 131.4 kB / 0.7667 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.722e-05/0.005436, allocations: 28.83 kB / 0.7667 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.005439, allocations: 4 kB / 0.7667 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.005454, allocations: 20.8 kB / 0.7668 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.11e-05/0.005535, allocations: 0 / 0.7668 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.005863, allocations: 185.3 kB / 0.7669 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.854e-05/0.005892, allocations: 59.3 kB / 0.767 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.005912, allocations: 11.98 kB / 0.767 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.005946, allocations: 55.38 kB / 0.7671 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.005947, allocations: 0 / 0.7671 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of Templates: time 0.002073/0.00802, allocations: 1.074 MB / 0.7681 GB, free: 6.051 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4406170174479485]