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.001809/0.001809, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5316/0.5316, allocations: 91.99 MB / 108.5 MB, free: 13.05 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.629/1.629, allocations: 223.2 MB / 354.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009994, allocations: 104.2 kB / 427.4 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003473, allocations: 8 kB / 0.4983 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1881, allocations: 72.31 MB / 0.5689 GB, free: 1.914 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6161/0.8043, allocations: 102.3 MB / 0.6688 GB, free: 2.117 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.8047, allocations: 79.95 kB / 0.6689 GB, free: 2.039 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01265/0.8174, allocations: 4.063 MB / 0.6729 GB, free: 13.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8175, allocations: 0 / 0.6729 GB, free: 13.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.8175, allocations: 0 / 0.6729 GB, free: 13.99 MB / 474.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.0004949/0.818, allocations: 351.8 kB / 0.6732 GB, free: 13.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.8181, allocations: 11.97 kB / 0.6732 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.8181, allocations: 0 / 0.6732 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.8184, allocations: 171 kB / 0.6734 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.8184, allocations: 3.984 kB / 0.6734 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.8184, allocations: 8 kB / 0.6734 GB, free: 13.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.8186, allocations: 37.64 kB / 0.6734 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8186, allocations: 0 / 0.6734 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.8186, allocations: 7.984 kB / 0.6734 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.8187, allocations: 3.953 kB / 0.6734 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.8187, allocations: 8 kB / 0.6734 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.819, allocations: 153.7 kB / 0.6736 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.8192, allocations: 46.59 kB / 0.6736 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.8193, allocations: 8 kB / 0.6736 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.8193, allocations: 34.5 kB / 0.6737 GB, free: 13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8193, allocations: 3.938 kB / 0.6737 GB, free: 13 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008724/0.8202, allocations: 307.1 kB / 0.674 GB, free: 12.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.8203, allocations: 59.36 kB / 0.674 GB, free: 12.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.8204, allocations: 85 kB / 0.6741 GB, free: 12.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.8204, allocations: 29.7 kB / 0.6741 GB, free: 12.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.8205, allocations: 88.14 kB / 0.6742 GB, free: 12.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.8205, allocations: 19.72 kB / 0.6742 GB, free: 12.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.8205, allocations: 4 kB / 0.6742 GB, free: 12.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.8207, allocations: 314.8 kB / 0.6745 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.8208, allocations: 8 kB / 0.6745 GB, free: 12.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.8208, allocations: 19.97 kB / 0.6746 GB, free: 11.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.8208, allocations: 12 kB / 0.6746 GB, free: 11.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.8208, allocations: 0 / 0.6746 GB, free: 11.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001075/0.821, allocations: 65.53 kB / 0.6746 GB, free: 11.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.821, allocations: 12 kB / 0.6746 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.821, allocations: 0 / 0.6746 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.821, allocations: 0 / 0.6746 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.8211, allocations: 12 kB / 0.6747 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.8211, allocations: 4 kB / 0.6747 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.8211, allocations: 3.953 kB / 0.6747 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.8212, allocations: 0 / 0.6747 GB, free: 11.88 MB / 474.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 () * Number of clocked 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 0.0001115/0.8213, allocations: 113.8 kB / 0.6748 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.8213, allocations: 7.938 kB / 0.6748 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.8215, allocations: 73.59 kB / 0.6748 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8215, allocations: 4 kB / 0.6748 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.8215, allocations: 0 / 0.6748 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8215, allocations: 0 / 0.6748 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.822, allocations: 319.5 kB / 0.6752 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.822, allocations: 0 / 0.6752 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.8221, allocations: 8 kB / 0.6752 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8221, allocations: 4 kB / 0.6752 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.8221, allocations: 4.031 kB / 0.6752 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8221, allocations: 0 / 0.6752 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.8221, allocations: 3.953 kB / 0.6752 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.8224, allocations: 201.9 kB / 0.6754 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.8225, allocations: 81.09 kB / 0.6754 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.8225, allocations: 4.031 kB / 0.6754 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.8226, allocations: 8.016 kB / 0.6755 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.8226, allocations: 4 kB / 0.6755 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.8226, allocations: 4 kB / 0.6755 GB, free: 10.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.8226, allocations: 79.8 kB / 0.6755 GB, free: 10.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8227, allocations: 0 / 0.6755 GB, free: 10.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000287/0.8229, allocations: 27.92 kB / 0.6756 GB, free: 10.83 MB / 474.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 () * Number of clocked 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.0002631/0.8232, allocations: 131.2 kB / 0.6757 GB, free: 10.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.8234, allocations: 39.92 kB / 0.6757 GB, free: 10.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8234, allocations: 0 / 0.6757 GB, free: 10.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.8234, allocations: 15.98 kB / 0.6757 GB, free: 10.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.8236, allocations: 6.578 kB / 0.6757 GB, free: 10.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.8242, allocations: 230.4 kB / 0.676 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.8245, allocations: 0.6815 MB / 0.6766 GB, free: 9.672 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.948e-05/0.8246, allocations: 11.98 kB / 0.6766 GB, free: 9.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.8246, allocations: 11.44 kB / 0.6767 GB, free: 9.652 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/0.8246, allocations: 4 kB / 0.6767 GB, free: 9.648 MB / 474.7 MB Notification: Performance of Templates: time 0.003322/0.8279, allocations: 0.5647 MB / 0.6772 GB, free: 9.098 MB / 474.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)