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_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") 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.86 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.0008872/0.0008872, allocations: 189.1 kB / 327.6 MB, free: 2.117 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.417/1.417, allocations: 205.4 MB / 0.5785 GB, free: 20.12 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.0006932/0.0006932, allocations: 99.8 kB / 0.6831 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 13.22 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1614, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.3031, allocations: 133.3 MB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.3034, allocations: 83.95 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01178/0.3152, allocations: 4.29 MB / 1.036 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3152, allocations: 0 / 1.036 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3152, allocations: 8 kB / 1.036 GB, free: 5.809 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003959/0.3156, allocations: 379.2 kB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3157, allocations: 8.031 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.3157, allocations: 8.844 kB / 1.036 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/0.3158, allocations: 168.3 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.3158, allocations: 384 / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3159, allocations: 16.36 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.3161, allocations: 82.22 kB / 1.036 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3161, allocations: 192 / 1.036 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3161, allocations: 7.938 kB / 1.036 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3161, allocations: 7.922 kB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.3164, allocations: 55.97 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.3169, allocations: 340.6 kB / 1.037 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.3171, allocations: 86.53 kB / 1.037 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3172, allocations: 36.83 kB / 1.037 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3173, allocations: 3.938 kB / 1.037 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3173, allocations: 38.56 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3173, allocations: 0 / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.00142/0.3187, allocations: 0.6696 MB / 1.038 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3188, allocations: 55.41 kB / 1.038 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.3188, allocations: 109.8 kB / 1.038 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3189, allocations: 29.7 kB / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.3189, allocations: 80.14 kB / 1.038 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3189, allocations: 39.45 kB / 1.038 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.319, allocations: 4 kB / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.319, allocations: 314.8 kB / 1.038 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3192, allocations: 39.97 kB / 1.038 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3193, allocations: 34.73 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.3195, allocations: 84.77 kB / 1.038 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3195, allocations: 0 / 1.038 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00027/0.3198, allocations: 129.7 kB / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3198, allocations: 11.92 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3198, allocations: 0 / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3198, allocations: 0 / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.32, allocations: 27.98 kB / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.32, allocations: 0 / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.32, allocations: 11.94 kB / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3201, allocations: 11.98 kB / 1.038 GB, free: 2.656 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 7.19e-05/0.3201, allocations: 117.8 kB / 1.039 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.3202, allocations: 7.906 kB / 1.039 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.3205, allocations: 137.6 kB / 1.039 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3205, allocations: 0 / 1.039 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3205, allocations: 0 / 1.039 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3205, allocations: 7.922 kB / 1.039 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.321, allocations: 390.6 kB / 1.039 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3211, allocations: 4 kB / 1.039 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.3212, allocations: 27.98 kB / 1.039 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3212, allocations: 3.984 kB / 1.039 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3212, allocations: 11.92 kB / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3212, allocations: 0 / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3212, allocations: 0 / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.3217, allocations: 263.6 kB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.3217, allocations: 85.14 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3217, allocations: 3.938 kB / 1.039 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3218, allocations: 7.984 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.3219, allocations: 8.062 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3219, allocations: 8 kB / 1.039 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.3219, allocations: 83.27 kB / 1.04 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3219, allocations: 0 / 1.04 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002536/0.3222, allocations: 43.94 kB / 1.04 GB, free: 1.363 MB / 0.6823 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.0001809/0.3224, allocations: 139.2 kB / 1.04 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.3227, allocations: 99.88 kB / 1.04 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3227, allocations: 0 / 1.04 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3228, allocations: 47.91 kB / 1.04 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.323, allocations: 12.59 kB / 1.04 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.3236, allocations: 382.2 kB / 1.04 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.3239, allocations: 0.6965 MB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.177e-05/0.3239, allocations: 16.59 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.324, allocations: 11.44 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.324, allocations: 0 / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of Templates: time 0.002978/0.3269, allocations: 1.068 MB / 1.042 GB, free: 14.88 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)