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.7624/0.7624, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 188.7 kB / 169.7 MB, free: 1.73 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.727/1.727, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0008644/0.0008645, allocations: 91.08 kB / 481.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.248e-05, allocations: 4 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1784, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5847/0.7631, allocations: 103.3 MB / 0.7291 GB, free: 10.11 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.7634, allocations: 82.27 kB / 0.7292 GB, free: 10.06 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.012/0.7754, allocations: 4.306 MB / 0.7334 GB, free: 6.434 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7755, allocations: 0 / 0.7334 GB, free: 6.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.7755, allocations: 4 kB / 0.7334 GB, free: 6.43 MB / 490.7 MB 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.0003414/0.7759, allocations: 338.4 kB / 0.7337 GB, free: 6.055 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.7759, allocations: 12.03 kB / 0.7337 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.776, allocations: 7.203 kB / 0.7337 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.7761, allocations: 163 kB / 0.7339 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.7761, allocations: 4 kB / 0.7339 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.7761, allocations: 0 / 0.7339 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.7766, allocations: 78.02 kB / 0.7339 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.7766, allocations: 0 / 0.7339 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.7766, allocations: 4 kB / 0.734 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.7766, allocations: 3.953 kB / 0.734 GB, free: 5.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.7769, allocations: 43.2 kB / 0.734 GB, free: 5.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.7771, allocations: 169.2 kB / 0.7342 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.7775, allocations: 77.03 kB / 0.7342 GB, free: 5.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.7776, allocations: 20.44 kB / 0.7343 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.7778, allocations: 97.09 kB / 0.7343 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.7778, allocations: 34.56 kB / 0.7344 GB, free: 5.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7778, allocations: 0 / 0.7344 GB, free: 5.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001597/0.7794, allocations: 463 kB / 0.7348 GB, free: 4.777 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.7795, allocations: 59.34 kB / 0.7349 GB, free: 4.707 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.7796, allocations: 93 kB / 0.735 GB, free: 4.609 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.7796, allocations: 29.45 kB / 0.735 GB, free: 4.578 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.7796, allocations: 80.14 kB / 0.7351 GB, free: 4.496 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.7797, allocations: 19.5 kB / 0.7351 GB, free: 4.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.7797, allocations: 0 / 0.7351 GB, free: 4.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7798, allocations: 314.8 kB / 0.7354 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.7799, allocations: 19.31 kB / 0.7354 GB, free: 4.152 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.7799, allocations: 11.44 kB / 0.7354 GB, free: 4.145 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.78, allocations: 23.73 kB / 0.7354 GB, free: 4.125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.78, allocations: 4 kB / 0.7354 GB, free: 4.121 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000134/0.7801, allocations: 76.52 kB / 0.7355 GB, free: 4.051 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.7802, allocations: 4 kB / 0.7355 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7802, allocations: 0 / 0.7355 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.7802, allocations: 3.984 kB / 0.7355 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.7804, allocations: 27.98 kB / 0.7355 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.7804, allocations: 4.719 kB / 0.7356 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.7805, allocations: 27.92 kB / 0.7356 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.7806, allocations: 0 / 0.7356 GB, free: 3.984 MB / 490.7 MB 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 7.661e-05/0.7806, allocations: 108.9 kB / 0.7357 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.7807, allocations: 3.938 kB / 0.7357 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.7807, allocations: 7.469 kB / 0.7357 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7807, allocations: 0 / 0.7357 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7807, allocations: 4 kB / 0.7357 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7807, allocations: 0 / 0.7357 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.7813, allocations: 353.9 kB / 0.736 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7813, allocations: 0 / 0.736 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.7815, allocations: 27.92 kB / 0.7361 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.7815, allocations: 7.984 kB / 0.7361 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7815, allocations: 0 / 0.7361 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7815, allocations: 32 / 0.7361 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7815, allocations: 7.953 kB / 0.7361 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.7818, allocations: 208.8 kB / 0.7363 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.7819, allocations: 85.12 kB / 0.7364 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.7819, allocations: 3.812 kB / 0.7364 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.7821, allocations: 27.94 kB / 0.7364 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.7821, allocations: 11.92 kB / 0.7364 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.7821, allocations: 4 kB / 0.7364 GB, free: 3.086 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.486e-05/0.7822, allocations: 78.91 kB / 0.7365 GB, free: 3.012 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7822, allocations: 0 / 0.7365 GB, free: 3.012 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.7824, allocations: 16 kB / 0.7365 GB, free: 2.996 MB / 490.7 MB 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.00017/0.7826, allocations: 111 kB / 0.7366 GB, free: 2.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.7827, allocations: 47.17 kB / 0.7366 GB, free: 2.844 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7827, allocations: 0 / 0.7366 GB, free: 2.844 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/0.7828, allocations: 22.81 kB / 0.7367 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.7829, allocations: 5.828 kB / 0.7367 GB, free: 2.824 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/0.7837, allocations: 214.6 kB / 0.7369 GB, free: 2.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.7839, allocations: 0.6809 MB / 0.7375 GB, free: 1.887 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.55e-05/0.784, allocations: 11.98 kB / 0.7376 GB, free: 1.875 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.7841, allocations: 18.81 kB / 0.7376 GB, free: 1.859 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7841, allocations: 0 / 0.7376 GB, free: 1.859 MB / 490.7 MB Notification: Performance of Templates: time 0.002771/0.7869, allocations: 0.7426 MB / 0.7383 GB, free: 1.16 MB / 490.7 MB 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)