Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8609/0.8609, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.001096/0.001095, allocations: 174.6 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.624/1.624, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.000805/0.000805, allocations: 85.36 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.226e-05, allocations: 2.969 kB / 0.5466 GB, free: 95.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 76.77 MB / 0.6215 GB, free: 43.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.2903, allocations: 102.7 MB / 0.7218 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.2905, allocations: 87.94 kB / 0.7219 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.3024, allocations: 4.282 MB / 0.7261 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.429e-06/0.3024, allocations: 0 / 0.7261 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.537e-06/0.3024, allocations: 7.875 kB / 0.7261 GB, free: 15.9 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003155/0.3027, allocations: 338.5 kB / 0.7264 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3028, allocations: 8.031 kB / 0.7264 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.3028, allocations: 7.953 kB / 0.7264 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.303, allocations: 167 kB / 0.7266 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.303, allocations: 0 / 0.7266 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.303, allocations: 4 kB / 0.7266 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.073e-05/0.3031, allocations: 4 kB / 0.7266 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.952e-05/0.3032, allocations: 41.69 kB / 0.7266 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3032, allocations: 3.938 kB / 0.7266 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3032, allocations: 3.953 kB / 0.7266 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3033, allocations: 4 kB / 0.7266 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.3034, allocations: 134.3 kB / 0.7268 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3036, allocations: 34.58 kB / 0.7268 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.3036, allocations: 20.94 kB / 0.7268 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.3039, allocations: 93.09 kB / 0.7269 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.3039, allocations: 34.56 kB / 0.7269 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3039, allocations: 0 / 0.7269 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001143/0.3051, allocations: 386.2 kB / 0.7273 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.3051, allocations: 55.34 kB / 0.7274 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.3052, allocations: 89 kB / 0.7274 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3052, allocations: 29.7 kB / 0.7275 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.3052, allocations: 80.14 kB / 0.7275 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.3053, allocations: 15.75 kB / 0.7276 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.3053, allocations: 0 / 0.7276 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3054, allocations: 322.8 kB / 0.7279 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.3054, allocations: 16 kB / 0.7279 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.3055, allocations: 15.98 kB / 0.7279 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.3055, allocations: 19.92 kB / 0.7279 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3055, allocations: 0 / 0.7279 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.3056, allocations: 73.59 kB / 0.728 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3057, allocations: 4 kB / 0.728 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3057, allocations: 0 / 0.728 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3057, allocations: 7.922 kB / 0.728 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.3059, allocations: 23.98 kB / 0.728 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3059, allocations: 8 kB / 0.728 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3061, allocations: 19.97 kB / 0.7281 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3061, allocations: 240 / 0.7281 GB, free: 13.62 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 (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 8.59e-05/0.3062, allocations: 104.9 kB / 0.7282 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.3062, allocations: 4.062 kB / 0.7282 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.3062, allocations: 16.34 kB / 0.7282 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3062, allocations: 0 / 0.7282 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3062, allocations: 4 kB / 0.7282 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3063, allocations: 0 / 0.7282 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.3068, allocations: 320 kB / 0.7285 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3068, allocations: 0 / 0.7285 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.307, allocations: 27.97 kB / 0.7285 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.307, allocations: 7.969 kB / 0.7285 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.307, allocations: 7.984 kB / 0.7285 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.307, allocations: 0 / 0.7285 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.307, allocations: 0 / 0.7285 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.3073, allocations: 206 kB / 0.7287 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.3074, allocations: 85.12 kB / 0.7288 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3074, allocations: 4.062 kB / 0.7288 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3076, allocations: 16.64 kB / 0.7288 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.3076, allocations: 11.94 kB / 0.7288 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.3076, allocations: 4 kB / 0.7288 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.3077, allocations: 79.28 kB / 0.7289 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3077, allocations: 0 / 0.7289 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002379/0.3079, allocations: 16 kB / 0.7289 GB, free: 12.63 MB / 0.5105 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 () * 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.0001568/0.3081, allocations: 111.2 kB / 0.729 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.3082, allocations: 43.94 kB / 0.7291 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3082, allocations: 0 / 0.7291 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.3083, allocations: 23.92 kB / 0.7291 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.3084, allocations: 5.016 kB / 0.7291 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.3091, allocations: 213.4 kB / 0.7293 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3093, allocations: 0.6807 MB / 0.73 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.439e-05/0.3094, allocations: 8 kB / 0.73 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.3095, allocations: 15.42 kB / 0.73 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.3095, allocations: 0 / 0.73 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.002606/0.3121, allocations: 0.7179 MB / 0.7307 GB, free: 10.79 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)