Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.796/2.796, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 188.8 kB / 360.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 81.14 kB / 0.7322 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.016e-05, allocations: 4 kB / 0.8509 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7815, allocations: 115.2 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/1.016, allocations: 137.8 MB / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/1.016, allocations: 71.95 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01442/1.03, allocations: 2.819 MB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.03, allocations: 0 / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.03, allocations: 4.625 kB / 1.101 GB, free: 15.88 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004045/1.031, allocations: 341 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.031, allocations: 12.03 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/1.031, allocations: 0.6562 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.031, allocations: 170.9 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/1.031, allocations: 4.609 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/1.031, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.784e-05/1.031, allocations: 12.7 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.125e-05/1.031, allocations: 34.58 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.031, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.031, allocations: 0.5312 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.031, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/1.032, allocations: 138.8 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/1.032, allocations: 43.83 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/1.032, allocations: 17.86 kB / 1.102 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/1.032, allocations: 5.531 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/1.032, allocations: 35.28 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/1.032, allocations: 0.6875 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0006846/1.033, allocations: 280.7 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.033, allocations: 56.45 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/1.033, allocations: 89 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/1.033, allocations: 26.23 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/1.033, allocations: 86.08 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/1.033, allocations: 15.72 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/1.033, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.033, allocations: 322.8 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/1.033, allocations: 15.36 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/1.033, allocations: 8 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/1.033, allocations: 12 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.033, allocations: 0 / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001511/1.034, allocations: 63.89 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.034, allocations: 5.25 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.034, allocations: 3.656 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.034, allocations: 4 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.034, allocations: 11.98 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.034, allocations: 2.938 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/1.034, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/1.034, allocations: 4 kB / 1.103 GB, free: 13.88 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.754e-05/1.034, allocations: 108.7 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/1.034, allocations: 4 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/1.034, allocations: 65.94 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.034, allocations: 11.98 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.034, allocations: 2.938 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.034, allocations: 384 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/1.035, allocations: 280 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.035, allocations: 3.938 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/1.035, allocations: 12 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.035, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.035, allocations: 3.984 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.035, allocations: 4 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.035, allocations: 4.031 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/1.035, allocations: 190 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/1.035, allocations: 81.02 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/1.035, allocations: 4.031 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.035, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/1.035, allocations: 15.98 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/1.035, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.564e-05/1.035, allocations: 83.28 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.035, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003537/1.036, allocations: 23.94 kB / 1.103 GB, free: 12.9 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002644/1.036, allocations: 134.6 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001278/1.036, allocations: 29.59 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.036, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/1.036, allocations: 23.94 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/1.037, allocations: 3.953 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/1.037, allocations: 132.1 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/1.037, allocations: 0.6807 MB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.513e-05/1.037, allocations: 9.219 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/1.037, allocations: 11.44 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/1.037, allocations: 0 / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.003685/1.041, allocations: 0.5892 MB / 1.105 GB, free: 11.28 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)