Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 1.024/1.024, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001097, allocations: 175.4 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.2 MB / 399.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009654/0.0009655, allocations: 80.61 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.679e-05, allocations: 3.156 kB / 0.5466 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.154, allocations: 76.77 MB / 0.6215 GB, free: 43.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.2861, allocations: 102.8 MB / 0.722 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.2863, allocations: 79.94 kB / 0.722 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.3002, allocations: 4.831 MB / 0.7268 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3002, allocations: 4 kB / 0.7268 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3002, allocations: 0 / 0.7268 GB, free: 15.12 MB / 0.5105 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.000407/0.3007, allocations: 334.4 kB / 0.7271 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3007, allocations: 16.02 kB / 0.7271 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.3008, allocations: 7.953 kB / 0.7271 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3009, allocations: 163.1 kB / 0.7273 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3009, allocations: 0 / 0.7273 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3009, allocations: 7.938 kB / 0.7273 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.389e-05/0.301, allocations: 20 kB / 0.7273 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.204e-05/0.3011, allocations: 41.69 kB / 0.7273 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3011, allocations: 3.906 kB / 0.7273 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3012, allocations: 0 / 0.7273 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3012, allocations: 3.953 kB / 0.7273 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.3013, allocations: 142.2 kB / 0.7275 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.3014, allocations: 54.56 kB / 0.7275 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.3015, allocations: 24.86 kB / 0.7275 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.3017, allocations: 101 kB / 0.7276 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3018, allocations: 34.56 kB / 0.7277 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3018, allocations: 0 / 0.7277 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.003531/0.3053, allocations: 0.896 MB / 0.7285 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.3054, allocations: 51.41 kB / 0.7286 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.3054, allocations: 92.95 kB / 0.7287 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3055, allocations: 33.73 kB / 0.7287 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.3055, allocations: 84.08 kB / 0.7288 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.3056, allocations: 35.45 kB / 0.7288 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.3056, allocations: 0 / 0.7288 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3057, allocations: 319 kB / 0.7291 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.3058, allocations: 35.98 kB / 0.7292 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.3058, allocations: 24 kB / 0.7292 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.3059, allocations: 31.98 kB / 0.7292 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3059, allocations: 0 / 0.7292 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001985/0.3061, allocations: 101.6 kB / 0.7293 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3061, allocations: 4 kB / 0.7293 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3062, allocations: 0 / 0.7293 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3062, allocations: 0 / 0.7293 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.3065, allocations: 67.88 kB / 0.7294 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3066, allocations: 0 / 0.7294 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.3068, allocations: 35.91 kB / 0.7294 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.3068, allocations: 7.953 kB / 0.7294 GB, free: 12.09 MB / 0.5105 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 () * 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 9.54e-05/0.3069, allocations: 107 kB / 0.7295 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.307, allocations: 4 kB / 0.7295 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.307, allocations: 8.406 kB / 0.7295 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.307, allocations: 3.984 kB / 0.7295 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.307, allocations: 0 / 0.7295 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.307, allocations: 3.984 kB / 0.7295 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.3075, allocations: 363 kB / 0.7299 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3075, allocations: 3.984 kB / 0.7299 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.3079, allocations: 55.95 kB / 0.73 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3079, allocations: 0 / 0.73 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3079, allocations: 0 / 0.73 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3079, allocations: 3.938 kB / 0.73 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3079, allocations: 0 / 0.73 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.3083, allocations: 248.9 kB / 0.7302 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.3083, allocations: 85.08 kB / 0.7303 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.3084, allocations: 3.984 kB / 0.7303 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.3087, allocations: 32 kB / 0.7303 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.3087, allocations: 0 / 0.7303 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3088, allocations: 7.984 kB / 0.7303 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.3088, allocations: 79.28 kB / 0.7304 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3088, allocations: 96 / 0.7304 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000249/0.3091, allocations: 31.89 kB / 0.7304 GB, free: 10.99 MB / 0.5105 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 () * 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.000155/0.3092, allocations: 113.6 kB / 0.7305 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3094, allocations: 79.92 kB / 0.7306 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3094, allocations: 0 / 0.7306 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.3095, allocations: 36 kB / 0.7306 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.3097, allocations: 8.469 kB / 0.7306 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3109, allocations: 380 kB / 0.731 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.3112, allocations: 0.6846 MB / 0.7317 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.3114, allocations: 19.98 kB / 0.7317 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.3114, allocations: 19.42 kB / 0.7317 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.3114, allocations: 3.938 kB / 0.7317 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of Templates: time 0.002874/0.3143, allocations: 0.946 MB / 0.7326 GB, free: 8.68 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)