Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.254/1.254, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 176 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 0.5785 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007301/0.0007302, allocations: 88.3 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 11.91 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.167, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.3111, allocations: 132.6 MB / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3113, allocations: 75.95 kB / 1.031 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01223/0.3235, allocations: 4.535 MB / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3236, allocations: 0 / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3236, allocations: 4 kB / 1.035 GB, free: 6.648 MB / 0.6823 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.0003114/0.3239, allocations: 357.3 kB / 1.036 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.324, allocations: 8.031 kB / 1.036 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.324, allocations: 4.938 kB / 1.036 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.3241, allocations: 172.3 kB / 1.036 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3241, allocations: 4.375 kB / 1.036 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3241, allocations: 384 / 1.036 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3243, allocations: 54.19 kB / 1.036 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3243, allocations: 8.094 kB / 1.036 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3243, allocations: 3.938 kB / 1.036 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3243, allocations: 4 kB / 1.036 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.97e-05/0.3244, allocations: 15.98 kB / 1.036 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.3245, allocations: 165.7 kB / 1.036 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.163e-05/0.3246, allocations: 58.55 kB / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.3247, allocations: 32.8 kB / 1.036 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3247, allocations: 4 kB / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3247, allocations: 38.48 kB / 1.036 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3248, allocations: 0 / 1.036 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0009928/0.3258, allocations: 0.5836 MB / 1.037 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3258, allocations: 59.41 kB / 1.037 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.3259, allocations: 89.86 kB / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3259, allocations: 33.7 kB / 1.037 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.3259, allocations: 84 kB / 1.037 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.326, allocations: 39.53 kB / 1.037 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.326, allocations: 7.938 kB / 1.037 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.3261, allocations: 310.8 kB / 1.037 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.786e-05/0.3261, allocations: 24.11 kB / 1.037 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.3261, allocations: 23.98 kB / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.582e-05/0.3262, allocations: 63.67 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3262, allocations: 4 kB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001297/0.3264, allocations: 101.5 kB / 1.038 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3264, allocations: 4 kB / 1.038 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3264, allocations: 0 / 1.038 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3264, allocations: 0 / 1.038 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.3265, allocations: 23.94 kB / 1.038 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3265, allocations: 0 / 1.038 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.3266, allocations: 11.97 kB / 1.038 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.3266, allocations: 8 kB / 1.038 GB, free: 3.98 MB / 0.6823 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 6.93e-05/0.3267, allocations: 117.8 kB / 1.038 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.3267, allocations: 3.938 kB / 1.038 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.3269, allocations: 101.5 kB / 1.038 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3269, allocations: 0 / 1.038 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3269, allocations: 0 / 1.038 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3269, allocations: 3.984 kB / 1.038 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.3272, allocations: 362.6 kB / 1.038 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3272, allocations: 0 / 1.038 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.3273, allocations: 16 kB / 1.038 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3274, allocations: 0 / 1.038 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3274, allocations: 4 kB / 1.038 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3274, allocations: 320 / 1.038 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3274, allocations: 3.984 kB / 1.038 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.3276, allocations: 219.4 kB / 1.038 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.3276, allocations: 93.11 kB / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3277, allocations: 0 / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.3277, allocations: 4 kB / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.3278, allocations: 7.984 kB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3278, allocations: 7.938 kB / 1.038 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.3278, allocations: 79.28 kB / 1.039 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3278, allocations: 0 / 1.039 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000267/0.3281, allocations: 47.92 kB / 1.039 GB, free: 2.82 MB / 0.6823 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.0002009/0.3283, allocations: 143.2 kB / 1.039 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3284, allocations: 67.8 kB / 1.039 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3285, allocations: 0 / 1.039 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.3285, allocations: 35.92 kB / 1.039 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.3287, allocations: 15.52 kB / 1.039 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.3292, allocations: 332.5 kB / 1.039 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.3294, allocations: 0.6887 MB / 1.04 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.582e-05/0.3295, allocations: 7.984 kB / 1.04 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.3295, allocations: 11.44 kB / 1.04 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.3295, allocations: 0 / 1.04 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of Templates: time 0.002778/0.3323, allocations: 0.9172 MB / 1.041 GB, free: 0.5898 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)