Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.6 MB / 307.6 MB, free: 5.227 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.0009919/0.0009913, allocations: 173.1 kB / 377.1 MB, free: 1.535 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.485/1.485, allocations: 205.4 MB / 0.6367 GB, free: 8.555 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.0008667/0.0008668, allocations: 99.53 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004015, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6809/0.9408, allocations: 140.5 MB / 1.126 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.9411, allocations: 83.61 kB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01163/0.9528, allocations: 4.269 MB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9528, allocations: 0 / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.9528, allocations: 0 / 1.13 GB, free: 31.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003684/0.9532, allocations: 379.1 kB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9532, allocations: 16.02 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.9533, allocations: 10.08 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.9534, allocations: 171 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.9534, allocations: 7.938 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.9534, allocations: 11.44 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.9537, allocations: 79.58 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9537, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.9537, allocations: 0.625 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.9537, allocations: 4 kB / 1.131 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.9539, allocations: 54.31 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.9544, allocations: 336 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.9547, allocations: 86.09 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.9547, allocations: 4.141 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.9547, allocations: 39.19 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.9547, allocations: 0 / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001405/0.9561, allocations: 0.6712 MB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.9562, allocations: 59.34 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.9562, allocations: 89 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.9562, allocations: 37.08 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.9563, allocations: 84.05 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.9563, allocations: 42.73 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.9563, allocations: 0 / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.9564, allocations: 322.2 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.9565, allocations: 31.28 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.9566, allocations: 38.66 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.9567, allocations: 37.08 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.9567, allocations: 0 / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002765/0.957, allocations: 124.5 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.957, allocations: 9.875 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.9571, allocations: 0 / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9571, allocations: 4.469 kB / 1.132 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.9572, allocations: 38.81 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9572, allocations: 0.7812 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.9573, allocations: 12.56 kB / 1.133 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.9573, allocations: 4 kB / 1.133 GB, free: 28.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.9574, allocations: 117.2 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.9574, allocations: 4.844 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.9577, allocations: 145.1 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9578, allocations: 1.359 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9578, allocations: 4.516 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.9578, allocations: 0 / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.9582, allocations: 390.3 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9582, allocations: 0 / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.9584, allocations: 32.14 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9584, allocations: 1.219 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.9584, allocations: 11.52 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9584, allocations: 0 / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9584, allocations: 0.5625 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.9588, allocations: 262.2 kB / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.9589, allocations: 84.44 kB / 1.134 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.9589, allocations: 32 / 1.134 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.959, allocations: 15.95 kB / 1.134 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.959, allocations: 12.55 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.9591, allocations: 8.062 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.031e-05/0.9591, allocations: 87.78 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9591, allocations: 0 / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002562/0.9593, allocations: 40 kB / 1.134 GB, free: 27.2 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 (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.0001729/0.9595, allocations: 140.5 kB / 1.134 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.9598, allocations: 97.75 kB / 1.134 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9598, allocations: 0 / 1.134 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.96, allocations: 46.61 kB / 1.134 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.9602, allocations: 8.984 kB / 1.134 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.9607, allocations: 378.4 kB / 1.134 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.9609, allocations: 0.6946 MB / 1.135 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.951e-05/0.9609, allocations: 15.67 kB / 1.135 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.961, allocations: 15.44 kB / 1.135 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.961, allocations: 0 / 1.135 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.002814/0.9638, allocations: 1.022 MB / 1.136 GB, free: 25.29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)