Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.945/0.945, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.852/1.852, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.893e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002511/0.00253, allocations: 1.526 MB / 0.7767 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003613, allocations: 0.607 MB / 0.7772 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.003644, allocations: 0 / 0.7772 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.003679, allocations: 3.938 kB / 0.7773 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.003738, allocations: 6.781 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.004307, allocations: 165.4 kB / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.0044, allocations: 54.52 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.004441, allocations: 4 kB / 0.7775 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.004524, allocations: 31.95 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.004567, allocations: 23.91 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.004583, allocations: 4 kB / 0.7775 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.004987, allocations: 271.4 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.005009, allocations: 11.98 kB / 0.7778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.005037, allocations: 21.7 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.005316, allocations: 183.3 kB / 0.778 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.00532, allocations: 4 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00532, allocations: 0 / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.005324, allocations: 0 / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004206/0.005745, allocations: 293.5 kB / 0.7783 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.005778, allocations: 9.344 kB / 0.7783 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.005818, allocations: 13.92 kB / 0.7783 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.005904, allocations: 105.8 kB / 0.7784 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.005927, allocations: 4.375 kB / 0.7784 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.005956, allocations: 20.91 kB / 0.7784 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.006128, allocations: 130.8 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.006139, allocations: 1.125 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.006149, allocations: 4.375 kB / 0.7786 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.006155, allocations: 384 / 0.7786 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.0062, allocations: 24.42 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.00656, allocations: 209 kB / 0.7788 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.00668, allocations: 55.92 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.006703, allocations: 12.86 kB / 0.7788 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.006716, allocations: 4 kB / 0.7788 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.006739, allocations: 35.31 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.006741, allocations: 0.6875 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0009737/0.007715, allocations: 454.5 kB / 0.7793 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.007746, allocations: 59.34 kB / 0.7794 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.007804, allocations: 107.3 kB / 0.7795 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.007817, allocations: 26.61 kB / 0.7795 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.007853, allocations: 92.09 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.007888, allocations: 43.62 kB / 0.7796 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.00793, allocations: 26.52 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.008016, allocations: 322.8 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.008042, allocations: 12.88 kB / 0.78 GB, free: 296 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.008068, allocations: 16.11 kB / 0.78 GB, free: 280 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.008129, allocations: 40.08 kB / 0.78 GB, free: 240 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.00813, allocations: 3.938 kB / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001017/0.008231, allocations: 74.23 kB / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.008242, allocations: 4 kB / 0.7801 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.008246, allocations: 1.875 kB / 0.7801 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.008259, allocations: 0 / 0.7801 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.008364, allocations: 23.98 kB / 0.7801 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.008367, allocations: 0 / 0.7801 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.008409, allocations: 8.719 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.008417, allocations: 0 / 0.7801 GB, free: 120 kB / 0.7292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.008495, allocations: 118.5 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.008529, allocations: 15.92 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.00866, allocations: 82.78 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008662, allocations: 192 / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.008663, allocations: 0.8125 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008667, allocations: 7.984 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.008946, allocations: 234.7 kB / 0.7806 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008947, allocations: 0.9375 kB / 0.7806 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.009053, allocations: 19.98 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.009055, allocations: 1.031 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.009066, allocations: 11.98 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.009068, allocations: 0 / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009069, allocations: 0.8438 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.009242, allocations: 191.3 kB / 0.7808 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.00925, allocations: 4.953 kB / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.009264, allocations: 4 kB / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.009343, allocations: 9.016 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.009362, allocations: 7.984 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.009369, allocations: 0 / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.077e-05/0.00938, allocations: 10.61 kB / 0.7808 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.00938, allocations: 0 / 0.7808 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002524/0.009632, allocations: 39.88 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.0098, allocations: 117.3 kB / 0.781 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.009903, allocations: 55.14 kB / 0.781 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.009906, allocations: 0 / 0.781 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.009947, allocations: 38.22 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01012, allocations: 20.58 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.01057, allocations: 234.5 kB / 0.7813 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.317e-05/0.01061, allocations: 63.34 kB / 0.7814 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.01064, allocations: 10.67 kB / 0.7814 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.01069, allocations: 73.7 kB / 0.7815 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/0.01069, allocations: 0 / 0.7815 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of Templates: time 0.002462/0.01316, allocations: 1.288 MB / 0.7827 GB, free: 13.52 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.720052530989051]