Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0009608/0.0009608, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001071/0.001071, allocations: 169.5 kB / 25.18 MB, free: 9.113 MB / 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.9437/0.9437, allocations: 177.1 MB / 205.6 MB, free: 5.035 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.873/1.873, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7755 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.746e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001734/0.001752, allocations: 1.373 MB / 0.7769 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.002684, allocations: 0.575 MB / 0.7774 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.002706, allocations: 4 kB / 0.7774 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.002721, allocations: 0.875 kB / 0.7774 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.002769, allocations: 9.172 kB / 0.7775 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.003147, allocations: 140.7 kB / 0.7776 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.0032, allocations: 23.91 kB / 0.7776 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.003232, allocations: 4.5 kB / 0.7776 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.219e-05/0.003284, allocations: 8.688 kB / 0.7776 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.003326, allocations: 11.98 kB / 0.7776 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.003337, allocations: 2.531 kB / 0.7776 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.003633, allocations: 279.4 kB / 0.7779 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.003648, allocations: 7.984 kB / 0.7779 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.003663, allocations: 4 kB / 0.7779 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.003838, allocations: 151.5 kB / 0.7781 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00384, allocations: 0 / 0.7781 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003841, allocations: 4 kB / 0.7781 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.003844, allocations: 2.75 kB / 0.7781 GB, free: 3.441 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002575/0.004101, allocations: 260.6 kB / 0.7783 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.004132, allocations: 8.75 kB / 0.7783 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.004155, allocations: 4.938 kB / 0.7783 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.075e-05/0.004226, allocations: 109.7 kB / 0.7784 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004237, allocations: 8.375 kB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.004255, allocations: 4.375 kB / 0.7784 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/0.004329, allocations: 70.41 kB / 0.7785 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.004335, allocations: 4.188 kB / 0.7785 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.00434, allocations: 4.312 kB / 0.7785 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.004344, allocations: 384 / 0.7785 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.737e-05/0.004361, allocations: 7.938 kB / 0.7785 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.208e-05/0.004443, allocations: 65.05 kB / 0.7786 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.004566, allocations: 39.38 kB / 0.7786 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.004583, allocations: 13.47 kB / 0.7786 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.004597, allocations: 4.094 kB / 0.7786 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.004616, allocations: 39.39 kB / 0.7787 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004616, allocations: 0 / 0.7787 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0004236/0.00504, allocations: 230.5 kB / 0.7789 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.005069, allocations: 55.41 kB / 0.779 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.453e-05/0.005113, allocations: 99.38 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.005122, allocations: 25.7 kB / 0.7791 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.005142, allocations: 81.86 kB / 0.7792 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.00517, allocations: 31.77 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.005193, allocations: 17.72 kB / 0.7792 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.09e-05/0.005264, allocations: 318.8 kB / 0.7795 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.005273, allocations: 8.797 kB / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-06/0.005283, allocations: 11.94 kB / 0.7795 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.005312, allocations: 20.84 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.005313, allocations: 1.562 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.422e-05/0.005367, allocations: 49.67 kB / 0.7796 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.005378, allocations: 4 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005382, allocations: 0 / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.005388, allocations: 0.875 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.521e-05/0.005423, allocations: 12 kB / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.005428, allocations: 9.094 kB / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.005438, allocations: 3.938 kB / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.005442, allocations: 4 kB / 0.7796 GB, free: 1.668 MB / 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 (7): * Single equations (assignments): 7 * 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 4.353e-05/0.005486, allocations: 111.6 kB / 0.7797 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.005493, allocations: 4 kB / 0.7797 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.005567, allocations: 65.84 kB / 0.7798 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.005569, allocations: 4 kB / 0.7798 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.005571, allocations: 0.5 kB / 0.7798 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005573, allocations: 1.094 kB / 0.7798 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.005731, allocations: 211.6 kB / 0.78 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005732, allocations: 4.594 kB / 0.78 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.005766, allocations: 8 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005768, allocations: 1.125 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.005774, allocations: 7.984 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005775, allocations: 0 / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.005777, allocations: 4.625 kB / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.782e-05/0.005875, allocations: 161.3 kB / 0.7802 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.005889, allocations: 4 kB / 0.7802 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.005897, allocations: 0 / 0.7802 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.005929, allocations: 4.531 kB / 0.7802 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.005943, allocations: 12.48 kB / 0.7802 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.005947, allocations: 0 / 0.7802 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.696e-06/0.005956, allocations: 10.75 kB / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005956, allocations: 0 / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001381/0.006094, allocations: 27.88 kB / 0.7802 GB, free: 0.9844 MB / 0.7292 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 () * 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 (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.00013/0.006224, allocations: 121.7 kB / 0.7804 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.443e-05/0.006278, allocations: 24.84 kB / 0.7804 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.006282, allocations: 0 / 0.7804 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.0063, allocations: 25.36 kB / 0.7804 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.006402, allocations: 1.094 kB / 0.7804 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.00681, allocations: 223 kB / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.006849, allocations: 64.61 kB / 0.7807 GB, free: 500 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.006891, allocations: 63.36 kB / 0.7807 GB, free: 436 kB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.006892, allocations: 0.625 kB / 0.7807 GB, free: 436 kB / 0.7292 GB Notification: Performance of Templates: time 0.001525/0.008417, allocations: 0.8775 MB / 0.7816 GB, free: 15.59 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.351201904006302]