Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.57/1.57, allocations: 285.4 MB / 298 MB, free: 6.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 168.9 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007841/0.0007842, allocations: 90.45 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.85e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5693/0.5693, allocations: 115.3 MB / 0.9709 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.7396, allocations: 138.7 MB / 1.106 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.74, allocations: 79.94 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.7568, allocations: 4.004 MB / 1.11 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7568, allocations: 0 / 1.11 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.7568, allocations: 0.875 kB / 1.11 GB, free: 9.086 MB / 0.7136 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.0003422/0.7572, allocations: 341.3 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.7572, allocations: 8.031 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.7573, allocations: 0 / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.7574, allocations: 170.9 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.7574, allocations: 1.219 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.7575, allocations: 7.984 kB / 1.111 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.7576, allocations: 38.52 kB / 1.111 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.7577, allocations: 4.594 kB / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7577, allocations: 0 / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.7577, allocations: 6.344 kB / 1.111 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/0.7577, allocations: 7.984 kB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.758, allocations: 165.6 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.7582, allocations: 39.8 kB / 1.111 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.7582, allocations: 16.86 kB / 1.111 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.7583, allocations: 3.984 kB / 1.111 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.7583, allocations: 43.39 kB / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 5.029e-06/0.7583, allocations: 3.312 kB / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0006875/0.759, allocations: 295.1 kB / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.7591, allocations: 51.41 kB / 1.111 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.7592, allocations: 96.98 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.7592, allocations: 25.7 kB / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.7592, allocations: 87.14 kB / 1.112 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.7593, allocations: 23.64 kB / 1.112 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.7593, allocations: 0 / 1.112 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7594, allocations: 319.2 kB / 1.112 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.7595, allocations: 8 kB / 1.112 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.7595, allocations: 18.25 kB / 1.112 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.7596, allocations: 12 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.7596, allocations: 4 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001466/0.7597, allocations: 65.62 kB / 1.112 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7598, allocations: 4 kB / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7598, allocations: 0 / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.7598, allocations: 0 / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.404e-05/0.7599, allocations: 12 kB / 1.112 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.7599, allocations: 0 / 1.112 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.7599, allocations: 0 / 1.112 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.76, allocations: 7.984 kB / 1.112 GB, free: 7.004 MB / 0.7136 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 6.813e-05/0.76, allocations: 108.9 kB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.7601, allocations: 4 kB / 1.112 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.7603, allocations: 76.53 kB / 1.112 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7603, allocations: 0 / 1.112 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.7603, allocations: 3.938 kB / 1.112 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.7603, allocations: 0 / 1.112 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.7606, allocations: 323.3 kB / 1.113 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7606, allocations: 0 / 1.113 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.7607, allocations: 8 kB / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7607, allocations: 4.031 kB / 1.113 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.7607, allocations: 8 kB / 1.113 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7607, allocations: 0 / 1.113 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7607, allocations: 2.031 kB / 1.113 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.7609, allocations: 186.1 kB / 1.113 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.761, allocations: 85.02 kB / 1.113 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.761, allocations: 12.03 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.761, allocations: 3.938 kB / 1.113 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.7611, allocations: 7.984 kB / 1.113 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.7611, allocations: 0 / 1.113 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.7611, allocations: 87.23 kB / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7611, allocations: 0 / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002383/0.7614, allocations: 20 kB / 1.113 GB, free: 5.969 MB / 0.7136 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.0001762/0.7615, allocations: 135.2 kB / 1.113 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.67e-05/0.7616, allocations: 35.94 kB / 1.113 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7616, allocations: 0 / 1.113 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.7617, allocations: 16 kB / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.7618, allocations: 0 / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.7621, allocations: 155.5 kB / 1.113 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.7623, allocations: 0.6866 MB / 1.114 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.7623, allocations: 9.672 kB / 1.114 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.7624, allocations: 7.438 kB / 1.114 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7624, allocations: 0 / 1.114 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of Templates: time 0.002294/0.7647, allocations: 0.5927 MB / 1.115 GB, free: 4.336 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)