Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001454/0.001454, allocations: 185 kB / 371.8 MB, free: 10.3 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.526/1.526, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008345/0.0008346, allocations: 93.08 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.000408, allocations: 16.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6509/0.8712, allocations: 138.8 MB / 1.115 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.8715, allocations: 78.86 kB / 1.115 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.8823, allocations: 3.996 MB / 1.119 GB, free: 32.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8823, allocations: 0 / 1.119 GB, free: 32.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.8824, allocations: 0 / 1.119 GB, free: 32.11 MB / 0.698 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.0003453/0.8827, allocations: 347.7 kB / 1.119 GB, free: 31.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.8828, allocations: 15.52 kB / 1.119 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.8828, allocations: 4.531 kB / 1.119 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.8829, allocations: 173.9 kB / 1.119 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.883, allocations: 3.875 kB / 1.119 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.883, allocations: 0 / 1.119 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.8831, allocations: 43.66 kB / 1.119 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.8831, allocations: 0 / 1.119 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.8831, allocations: 0 / 1.119 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8831, allocations: 3.938 kB / 1.119 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.8832, allocations: 18.31 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.8833, allocations: 162.5 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.8835, allocations: 39.42 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.8835, allocations: 7.875 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.8836, allocations: 33.25 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.8836, allocations: 0 / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005648/0.8841, allocations: 303.7 kB / 1.12 GB, free: 30.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.8842, allocations: 55.34 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.8843, allocations: 92.28 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.8843, allocations: 25.7 kB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.8843, allocations: 87 kB / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.8843, allocations: 22.66 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.8844, allocations: 0 / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8845, allocations: 319.9 kB / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.8845, allocations: 10.69 kB / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.8845, allocations: 14.69 kB / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.8846, allocations: 11.95 kB / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8846, allocations: 0 / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.066e-05/0.8847, allocations: 65.88 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8847, allocations: 11.66 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8847, allocations: 0 / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8847, allocations: 0 / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.8848, allocations: 18.39 kB / 1.121 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.8848, allocations: 0 / 1.121 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.8848, allocations: 3.75 kB / 1.121 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.8848, allocations: 240 / 1.121 GB, free: 30.32 MB / 0.698 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.441e-05/0.8849, allocations: 113.7 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-06/0.8849, allocations: 4.422 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.885, allocations: 83.25 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.885, allocations: 0 / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.8851, allocations: 0 / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.8851, allocations: 3.984 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.8854, allocations: 318.3 kB / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8854, allocations: 2.812 kB / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.8855, allocations: 11.62 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8855, allocations: 3.812 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8855, allocations: 7.031 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8855, allocations: 0 / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8855, allocations: 0 / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.8857, allocations: 193.8 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.8857, allocations: 84.77 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.8857, allocations: 3.094 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.8858, allocations: 7.562 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.8858, allocations: 3.844 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.8858, allocations: 0 / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.8859, allocations: 81.94 kB / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8859, allocations: 3.938 kB / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002506/0.8861, allocations: 30.77 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001762/0.8863, allocations: 135.9 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.979e-05/0.8864, allocations: 28.64 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8864, allocations: 4 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.8865, allocations: 24.58 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.8866, allocations: 6.062 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.887, allocations: 219 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.8873, allocations: 0.6851 MB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.8873, allocations: 3.812 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.8874, allocations: 11.31 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/0.8874, allocations: 0 / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of Templates: time 0.002606/0.89, allocations: 0.577 MB / 1.123 GB, free: 28.45 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)