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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009214/0.0009214, allocations: 185 kB / 327.6 MB, free: 2.168 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.329/1.329, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.000664/0.0006639, allocations: 97.36 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 13.44 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.3024, allocations: 132.5 MB / 1.031 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.3026, allocations: 79.95 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.3136, allocations: 4.032 MB / 1.035 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3136, allocations: 0 / 1.035 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3137, allocations: 0 / 1.035 GB, free: 6.941 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003191/0.314, allocations: 347.4 kB / 1.035 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.314, allocations: 12.03 kB / 1.035 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3141, allocations: 4.875 kB / 1.035 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.821e-05/0.3142, allocations: 168.3 kB / 1.035 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3142, allocations: 4.375 kB / 1.035 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3142, allocations: 4.359 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.444e-05/0.3143, allocations: 42.27 kB / 1.035 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3143, allocations: 192 / 1.035 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3143, allocations: 3.938 kB / 1.035 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3144, allocations: 3.984 kB / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.3144, allocations: 12 kB / 1.035 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.3146, allocations: 161.6 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3147, allocations: 46.55 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.3148, allocations: 20.95 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3148, allocations: 7.969 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3148, allocations: 30.56 kB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3148, allocations: 0 / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0005616/0.3154, allocations: 302.2 kB / 1.036 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3154, allocations: 55.41 kB / 1.036 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.3155, allocations: 101.8 kB / 1.036 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3155, allocations: 25.7 kB / 1.036 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.3156, allocations: 84.08 kB / 1.036 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.3156, allocations: 23.66 kB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.3156, allocations: 0 / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3158, allocations: 322.8 kB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.3158, allocations: 12 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.3158, allocations: 4 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.721e-05/0.3159, allocations: 36.84 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3159, allocations: 4 kB / 1.036 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.433e-05/0.316, allocations: 61.69 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.316, allocations: 10.59 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.316, allocations: 7.922 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.316, allocations: 0 / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.3161, allocations: 19.94 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3161, allocations: 0 / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.3161, allocations: 0 / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3161, allocations: 4 kB / 1.036 GB, free: 4.773 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 (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.426e-05/0.3162, allocations: 113.8 kB / 1.037 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3162, allocations: 7.938 kB / 1.037 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.3164, allocations: 69.88 kB / 1.037 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3164, allocations: 0 / 1.037 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3164, allocations: 3.938 kB / 1.037 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3164, allocations: 0 / 1.037 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.3167, allocations: 311.5 kB / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3167, allocations: 0 / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.3168, allocations: 23.95 kB / 1.037 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3168, allocations: 0 / 1.037 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3168, allocations: 4 kB / 1.037 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3168, allocations: 3.984 kB / 1.037 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3168, allocations: 0 / 1.037 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.317, allocations: 180.2 kB / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.317, allocations: 85.14 kB / 1.037 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.3171, allocations: 4.062 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.3171, allocations: 0 / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.3172, allocations: 7.984 kB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3172, allocations: 4 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.3172, allocations: 83.22 kB / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3172, allocations: 0 / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002457/0.3175, allocations: 35.92 kB / 1.037 GB, free: 3.738 MB / 0.6823 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.0001735/0.3176, allocations: 123.9 kB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.825e-05/0.3177, allocations: 39.91 kB / 1.038 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3178, allocations: 3.938 kB / 1.038 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.3178, allocations: 19.94 kB / 1.038 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.318, allocations: 9.203 kB / 1.038 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.3184, allocations: 229.4 kB / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3186, allocations: 0.6887 MB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.3187, allocations: 0 / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.3187, allocations: 11.44 kB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.3187, allocations: 4 kB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of Templates: time 0.002477/0.3212, allocations: 0.584 MB / 1.039 GB, free: 2 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)