Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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_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_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009533/0.0009533, allocations: 180.5 kB / 378.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 0.6383 GB, free: 9.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007641/0.0007642, allocations: 96.09 kB / 0.7527 GB, free: 62.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003947, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2277, allocations: 116.4 MB / 0.9905 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6527/0.8804, allocations: 139.7 MB / 1.127 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.8807, allocations: 78.16 kB / 1.127 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007497/0.8882, allocations: 2.853 MB / 1.13 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8883, allocations: 0 / 1.13 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.8883, allocations: 0 / 1.13 GB, free: 32.16 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.0002575/0.8886, allocations: 347.4 kB / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.8886, allocations: 8.031 kB / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.8886, allocations: 4.688 kB / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.367e-05/0.8887, allocations: 168.4 kB / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.8888, allocations: 4.375 kB / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.8888, allocations: 1.547 kB / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.8889, allocations: 42.62 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.8889, allocations: 192 / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.8889, allocations: 3.938 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.8889, allocations: 3.938 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.889, allocations: 11.38 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.8891, allocations: 157 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.8893, allocations: 42.42 kB / 1.131 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.8893, allocations: 22.16 kB / 1.131 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.8893, allocations: 0 / 1.131 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.8894, allocations: 38.56 kB / 1.131 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.8894, allocations: 3.938 kB / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005138/0.8899, allocations: 307.1 kB / 1.131 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.8899, allocations: 55.41 kB / 1.131 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.018e-05/0.89, allocations: 101.3 kB / 1.131 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.89, allocations: 25.7 kB / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.89, allocations: 80.14 kB / 1.131 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.89, allocations: 23.7 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-06/0.89, allocations: 0 / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.8901, allocations: 315 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.8901, allocations: 12 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.8901, allocations: 15.86 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.746e-05/0.8902, allocations: 33.41 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.8902, allocations: 0 / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.862e-05/0.8903, allocations: 66.98 kB / 1.132 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.8903, allocations: 11.88 kB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8903, allocations: 4.875 kB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8903, allocations: 0 / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.492e-05/0.8904, allocations: 11.84 kB / 1.132 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.8904, allocations: 0 / 1.132 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.8904, allocations: 0 / 1.132 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.8904, allocations: 4 kB / 1.132 GB, free: 30.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.8905, allocations: 117.8 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.8905, allocations: 11.84 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.8906, allocations: 74.62 kB / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8907, allocations: 0 / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8907, allocations: 0 / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8907, allocations: 0 / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.8909, allocations: 326.3 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8909, allocations: 4.031 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.891, allocations: 11.88 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.891, allocations: 1.031 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.891, allocations: 4 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.891, allocations: 0 / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.891, allocations: 0.5 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.8912, allocations: 179.9 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.8912, allocations: 89.11 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.8912, allocations: 3.281 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.8913, allocations: 8 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.8913, allocations: 0 / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.8913, allocations: 4.625 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.04e-05/0.8913, allocations: 79.78 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8913, allocations: 0.8438 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002478/0.8916, allocations: 35.94 kB / 1.132 GB, free: 29.07 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 (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.0001602/0.8918, allocations: 126.1 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.65e-05/0.8919, allocations: 36.73 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8919, allocations: 4 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.8919, allocations: 15.42 kB / 1.133 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.8921, allocations: 7.938 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.8925, allocations: 223.5 kB / 1.133 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.8926, allocations: 0.6807 MB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.8926, allocations: 8.75 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.8927, allocations: 11.44 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.8927, allocations: 0 / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.002322/0.895, allocations: 0.6163 MB / 1.134 GB, free: 27.61 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)