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.0009222/0.0009222, allocations: 84.75 kB / 20.83 MB, free: 3.625 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.0009475/0.0009475, allocations: 169 kB / 24.25 MB, free: 204 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.9622/0.9622, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.897/1.897, allocations: 389.6 MB / 0.6355 GB, free: 12.25 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.253e-06/1.253e-06, allocations: 0 / 0.7754 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.44e-05, allocations: 7.484 kB / 0.7754 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002255/0.002279, allocations: 1.576 MB / 0.7769 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008706/0.00315, allocations: 0.6047 MB / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.00319, allocations: 0 / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.003233, allocations: 3.938 kB / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.003289, allocations: 10.72 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.003853, allocations: 159 kB / 0.7777 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.546e-05/0.003938, allocations: 51.84 kB / 0.7777 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.003982, allocations: 3.984 kB / 0.7777 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.004065, allocations: 35.91 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.004106, allocations: 23.95 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.004122, allocations: 4.531 kB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.004476, allocations: 271.4 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.0045, allocations: 24.62 kB / 0.7781 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.004525, allocations: 12 kB / 0.7781 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.004755, allocations: 183.9 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.004758, allocations: 0.875 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00476, allocations: 4 kB / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.004765, allocations: 0 / 0.7782 GB, free: 2.336 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.0003728/0.005138, allocations: 293.8 kB / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.005184, allocations: 9.344 kB / 0.7785 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.462e-05/0.005218, allocations: 17.73 kB / 0.7786 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.667e-05/0.005305, allocations: 109.7 kB / 0.7787 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.005327, allocations: 5.781 kB / 0.7787 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.005353, allocations: 16.33 kB / 0.7787 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.005515, allocations: 128.9 kB / 0.7788 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.005525, allocations: 192 / 0.7788 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005534, allocations: 8.906 kB / 0.7788 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005539, allocations: 1.344 kB / 0.7788 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.295e-05/0.005572, allocations: 15.94 kB / 0.7788 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.005882, allocations: 209.8 kB / 0.779 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.005981, allocations: 54.55 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.005997, allocations: 8.859 kB / 0.7791 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.006013, allocations: 4.562 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.006038, allocations: 48.02 kB / 0.7791 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.006039, allocations: 0 / 0.7791 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0007566/0.006796, allocations: 442.5 kB / 0.7796 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.006828, allocations: 55.41 kB / 0.7796 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.006892, allocations: 111.5 kB / 0.7797 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.006905, allocations: 29.7 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.006939, allocations: 89.44 kB / 0.7798 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.006972, allocations: 43.62 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.007009, allocations: 25.7 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.007097, allocations: 322.8 kB / 0.7802 GB, free: 136 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.007119, allocations: 17.05 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.007138, allocations: 16.12 kB / 0.7802 GB, free: 104 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.007188, allocations: 50.62 kB / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.007189, allocations: 1.062 kB / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.092e-05/0.00728, allocations: 69.61 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.007294, allocations: 4 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.007299, allocations: 0.5 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.007307, allocations: 5.344 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.007391, allocations: 27.92 kB / 0.7804 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.007393, allocations: 0 / 0.7804 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.007414, allocations: 4.656 kB / 0.7804 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.007419, allocations: 4 kB / 0.7804 GB, free: 15.93 MB / 0.7448 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 5.726e-05/0.007477, allocations: 119.2 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.007495, allocations: 7.938 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.007604, allocations: 77.72 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.007606, allocations: 5.438 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.007608, allocations: 0 / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007611, allocations: 0 / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.007828, allocations: 242.8 kB / 0.7808 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00783, allocations: 1.469 kB / 0.7808 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.007907, allocations: 27.92 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007909, allocations: 0 / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.007916, allocations: 0 / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.007919, allocations: 4.625 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.007921, allocations: 0.5312 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.008067, allocations: 184.1 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.008078, allocations: 11.94 kB / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.008089, allocations: 3.25 kB / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.385e-05/0.008133, allocations: 4 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.008151, allocations: 11.98 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.008156, allocations: 0 / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.169e-05/0.008168, allocations: 8.859 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.9e-07/0.008168, allocations: 3.938 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001737/0.008342, allocations: 43.86 kB / 0.7811 GB, free: 15.14 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.0001617/0.008503, allocations: 119 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.485e-05/0.008598, allocations: 50.33 kB / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.008601, allocations: 0 / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.008625, allocations: 32.78 kB / 0.7813 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.008771, allocations: 11.94 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.009281, allocations: 245.6 kB / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.009317, allocations: 63.94 kB / 0.7816 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000123/0.00944, allocations: 15.34 kB / 0.7816 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.0095, allocations: 67.36 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of SimCode: time 9.91e-07/0.009501, allocations: 0.8438 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.00302/0.01252, allocations: 1.303 MB / 0.783 GB, free: 13.33 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.952911698259413]