Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4699/0.4699, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008027/0.0008027, allocations: 100 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.946e-05, allocations: 8 kB / 0.4896 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3489, allocations: 72.31 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4735, allocations: 102.3 MB / 0.6601 GB, free: 2.027 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.4738, allocations: 84.8 kB / 0.6602 GB, free: 1.945 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.4853, allocations: 4.053 MB / 0.6641 GB, free: 13.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4854, allocations: 0 / 0.6641 GB, free: 13.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4854, allocations: 0 / 0.6641 GB, free: 13.91 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.0003396/0.4857, allocations: 342.5 kB / 0.6645 GB, free: 13.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4858, allocations: 15.98 kB / 0.6645 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.4858, allocations: 5.5 kB / 0.6645 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.486, allocations: 167 kB / 0.6647 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.486, allocations: 7.938 kB / 0.6647 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.486, allocations: 4 kB / 0.6647 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.4861, allocations: 41.69 kB / 0.6647 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4861, allocations: 0 / 0.6647 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4861, allocations: 0 / 0.6647 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4862, allocations: 3.953 kB / 0.6647 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.4862, allocations: 12 kB / 0.6647 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.4864, allocations: 161.7 kB / 0.6649 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.4865, allocations: 50.5 kB / 0.6649 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.4866, allocations: 16.86 kB / 0.6649 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4866, allocations: 0 / 0.6649 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4866, allocations: 34.56 kB / 0.665 GB, free: 12.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.4866, allocations: 0 / 0.665 GB, free: 12.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005632/0.4872, allocations: 301.3 kB / 0.6653 GB, free: 12.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4873, allocations: 51.41 kB / 0.6653 GB, free: 12.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.4873, allocations: 96.56 kB / 0.6654 GB, free: 12.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.4873, allocations: 25.7 kB / 0.6654 GB, free: 12.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.4874, allocations: 84.14 kB / 0.6655 GB, free: 12.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.4874, allocations: 19.66 kB / 0.6655 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.4874, allocations: 4 kB / 0.6655 GB, free: 12.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4875, allocations: 314.8 kB / 0.6658 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.4876, allocations: 12 kB / 0.6658 GB, free: 11.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.4876, allocations: 8 kB / 0.6658 GB, free: 11.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.4876, allocations: 12 kB / 0.6659 GB, free: 11.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4876, allocations: 11.88 kB / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.008e-05/0.4877, allocations: 61.67 kB / 0.6659 GB, free: 11.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4878, allocations: 8.781 kB / 0.6659 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4878, allocations: 0 / 0.6659 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4878, allocations: 0 / 0.6659 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.4878, allocations: 11.98 kB / 0.6659 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4878, allocations: 3.953 kB / 0.6659 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.4879, allocations: 4 kB / 0.666 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4879, allocations: 4 kB / 0.666 GB, free: 11.8 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 6.702e-05/0.488, allocations: 105 kB / 0.6661 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.488, allocations: 8.281 kB / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.4881, allocations: 73.7 kB / 0.6661 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4881, allocations: 7.984 kB / 0.6661 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4882, allocations: 0 / 0.6661 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4882, allocations: 3.953 kB / 0.6661 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.4885, allocations: 307.4 kB / 0.6664 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4885, allocations: 4.219 kB / 0.6664 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.4886, allocations: 16 kB / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4886, allocations: 0 / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4886, allocations: 3.984 kB / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4886, allocations: 3.953 kB / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4886, allocations: 4 kB / 0.6665 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.4888, allocations: 193.6 kB / 0.6667 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.4889, allocations: 85.12 kB / 0.6667 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.4889, allocations: 3.953 kB / 0.6667 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.489, allocations: 8 kB / 0.6667 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.489, allocations: 0 / 0.6667 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.489, allocations: 4 kB / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.278e-05/0.4891, allocations: 75.28 kB / 0.6668 GB, free: 10.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4891, allocations: 1.219 kB / 0.6668 GB, free: 10.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.4893, allocations: 35.98 kB / 0.6669 GB, free: 10.77 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.0001978/0.4895, allocations: 127.2 kB / 0.667 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.4896, allocations: 35.94 kB / 0.667 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4896, allocations: 0 / 0.667 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.4897, allocations: 27.86 kB / 0.667 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.4898, allocations: 0 / 0.667 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.4901, allocations: 150.3 kB / 0.6672 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.4904, allocations: 0.6848 MB / 0.6679 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.966e-05/0.4904, allocations: 4 kB / 0.6679 GB, free: 9.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.4905, allocations: 11.44 kB / 0.6679 GB, free: 9.668 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4905, allocations: 0 / 0.6679 GB, free: 9.668 MB / 490.7 MB Notification: Performance of Templates: time 0.002477/0.493, allocations: 0.5822 MB / 0.6684 GB, free: 9.109 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)