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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.00118/0.00118, allocations: 187.4 kB / 371.8 MB, free: 10.27 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.442/1.442, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008187/0.0008187, allocations: 95.42 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 12.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2178, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6502/0.8681, allocations: 138.9 MB / 1.115 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.8684, allocations: 82.97 kB / 1.115 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.8812, allocations: 4.503 MB / 1.12 GB, free: 31.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8812, allocations: 0 / 1.12 GB, free: 31.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.8812, allocations: 0 / 1.12 GB, free: 31.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004227/0.8817, allocations: 352.5 kB / 1.12 GB, free: 31.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.8817, allocations: 15.55 kB / 1.12 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.8818, allocations: 8.344 kB / 1.12 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.8819, allocations: 174.9 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.882, allocations: 7.125 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.882, allocations: 0 / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.8822, allocations: 49.52 kB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.8822, allocations: 0 / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.8822, allocations: 3.062 kB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.8822, allocations: 3.844 kB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.586e-05/0.8823, allocations: 17.11 kB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.8826, allocations: 167 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.8827, allocations: 65.09 kB / 1.12 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.8828, allocations: 0 / 1.12 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.8828, allocations: 34.53 kB / 1.12 GB, free: 30.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.8828, allocations: 0 / 1.12 GB, free: 30.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001437/0.8843, allocations: 0.5943 MB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.8843, allocations: 51.41 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.8844, allocations: 91.72 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.8845, allocations: 28.83 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.8846, allocations: 80.14 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.8846, allocations: 44.38 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.8846, allocations: 128 / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8848, allocations: 325.2 kB / 1.122 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.8849, allocations: 20.84 kB / 1.122 GB, free: 29.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.8849, allocations: 21.67 kB / 1.122 GB, free: 29.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.885, allocations: 26.97 kB / 1.122 GB, free: 29.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.885, allocations: 0 / 1.122 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001574/0.8852, allocations: 96.36 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.8852, allocations: 3.844 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8852, allocations: 0 / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.8852, allocations: 0 / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.8854, allocations: 26.56 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.8854, allocations: 3.938 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.8854, allocations: 2.812 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.8855, allocations: 3.875 kB / 1.122 GB, free: 29.8 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 (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 0.0001377/0.8856, allocations: 120.5 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.8856, allocations: 3.906 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.8859, allocations: 105.9 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8859, allocations: 3.984 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.8859, allocations: 7.969 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.8859, allocations: 6.938 kB / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.8865, allocations: 352.3 kB / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8865, allocations: 0 / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.8866, allocations: 18.92 kB / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8866, allocations: 0 / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.8866, allocations: 7.75 kB / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8866, allocations: 0 / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8866, allocations: 0 / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.8869, allocations: 231.8 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.887, allocations: 77.11 kB / 1.123 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.887, allocations: 6.766 kB / 1.123 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.8871, allocations: 3.188 kB / 1.123 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.8871, allocations: 6.125 kB / 1.123 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.8871, allocations: 3.875 kB / 1.123 GB, free: 29.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.8872, allocations: 75.28 kB / 1.123 GB, free: 29.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8872, allocations: 4.156 kB / 1.123 GB, free: 29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003463/0.8875, allocations: 48.14 kB / 1.123 GB, free: 28.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002322/0.8878, allocations: 139.1 kB / 1.123 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.8879, allocations: 69.36 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.8879, allocations: 0 / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.888, allocations: 30.05 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.8881, allocations: 15.73 kB / 1.123 GB, free: 28.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.8886, allocations: 336.6 kB / 1.123 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.8889, allocations: 0.6926 MB / 1.124 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.139e-05/0.889, allocations: 7.844 kB / 1.124 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.889, allocations: 17.81 kB / 1.124 GB, free: 27.92 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.889, allocations: 0 / 1.124 GB, free: 27.92 MB / 0.698 GB Notification: Performance of Templates: time 0.003032/0.892, allocations: 0.8443 MB / 1.125 GB, free: 27.86 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)