Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0008259/0.0008259, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.0008695/0.0008695, allocations: 173.8 kB / 25.18 MB, free: 9.102 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.8844/0.8844, allocations: 177.1 MB / 205.6 MB, free: 5.008 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.94/1.94, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7755 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.955e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00241/0.002429, allocations: 1.39 MB / 0.7769 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000945/0.003374, allocations: 0.58 MB / 0.7775 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.0034, allocations: 0.9844 kB / 0.7775 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.00342, allocations: 3.984 kB / 0.7775 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.003465, allocations: 4.891 kB / 0.7775 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.004005, allocations: 144.6 kB / 0.7776 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.381e-05/0.004068, allocations: 23.92 kB / 0.7776 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.192e-05/0.0041, allocations: 0 / 0.7776 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.00416, allocations: 15.91 kB / 0.7776 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.004209, allocations: 8 kB / 0.7777 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.004223, allocations: 4 kB / 0.7777 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.004649, allocations: 282.9 kB / 0.7779 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.004665, allocations: 4 kB / 0.7779 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.004687, allocations: 7.984 kB / 0.7779 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.004934, allocations: 155.4 kB / 0.7781 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004937, allocations: 0 / 0.7781 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004937, allocations: 0 / 0.7781 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.004941, allocations: 0 / 0.7781 GB, free: 3.41 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.0003183/0.005259, allocations: 260.6 kB / 0.7783 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.005295, allocations: 13.34 kB / 0.7783 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.005323, allocations: 1.5 kB / 0.7783 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.005414, allocations: 117.6 kB / 0.7785 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.005426, allocations: 4.375 kB / 0.7785 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.005447, allocations: 4.375 kB / 0.7785 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.167e-05/0.005529, allocations: 63.89 kB / 0.7785 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005535, allocations: 192 / 0.7785 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.005541, allocations: 384 / 0.7785 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005546, allocations: 384 / 0.7785 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.005566, allocations: 7.938 kB / 0.7785 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.708e-05/0.005663, allocations: 69.05 kB / 0.7786 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.005798, allocations: 34.59 kB / 0.7786 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.005819, allocations: 19.75 kB / 0.7787 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.005832, allocations: 3.938 kB / 0.7787 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.005858, allocations: 38.5 kB / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.005859, allocations: 4 kB / 0.7787 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005126/0.006372, allocations: 237.4 kB / 0.7789 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.006403, allocations: 52.41 kB / 0.779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.006459, allocations: 98.72 kB / 0.7791 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.00647, allocations: 25.7 kB / 0.7791 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.006497, allocations: 85.3 kB / 0.7792 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.006527, allocations: 23.83 kB / 0.7792 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.006557, allocations: 17.72 kB / 0.7792 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.006649, allocations: 327.3 kB / 0.7795 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.006662, allocations: 4.938 kB / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.006673, allocations: 4 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.006712, allocations: 28.92 kB / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.006713, allocations: 0.5 kB / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.915e-05/0.006782, allocations: 46.56 kB / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.006794, allocations: 4 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.006797, allocations: 5.656 kB / 0.7796 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/0.006804, allocations: 0 / 0.7796 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.551e-05/0.00685, allocations: 11.98 kB / 0.7796 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.006852, allocations: 0 / 0.7796 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.006871, allocations: 11.94 kB / 0.7796 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.006875, allocations: 0.6875 kB / 0.7796 GB, free: 1.641 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 5.461e-05/0.00693, allocations: 111.6 kB / 0.7797 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-06/0.00694, allocations: 4 kB / 0.7798 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.883e-05/0.007029, allocations: 61.8 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.00703, allocations: 0 / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007032, allocations: 0 / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.007034, allocations: 0.875 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.007229, allocations: 211.6 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007231, allocations: 1.406 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.007283, allocations: 15.98 kB / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007286, allocations: 0 / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.007291, allocations: 0 / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.007293, allocations: 0.875 kB / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007294, allocations: 0 / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.007423, allocations: 177.2 kB / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.007442, allocations: 4 kB / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.007451, allocations: 0.5625 kB / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.007508, allocations: 9.438 kB / 0.7802 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.007523, allocations: 7.922 kB / 0.7802 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.007528, allocations: 0 / 0.7802 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.678e-06/0.007537, allocations: 8.859 kB / 0.7802 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007537, allocations: 1.219 kB / 0.7802 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002261/0.007763, allocations: 31.88 kB / 0.7803 GB, free: 0.9531 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001491/0.007913, allocations: 112.8 kB / 0.7804 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.007984, allocations: 29.41 kB / 0.7804 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.00799, allocations: 4 kB / 0.7804 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/0.008012, allocations: 21.86 kB / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.008164, allocations: 4.562 kB / 0.7804 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.008652, allocations: 215.2 kB / 0.7806 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.868e-05/0.008701, allocations: 63.3 kB / 0.7807 GB, free: 476 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.008753, allocations: 66.11 kB / 0.7808 GB, free: 412 kB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/0.008754, allocations: 0 / 0.7808 GB, free: 412 kB / 0.7292 GB Notification: Performance of Templates: time 0.001914/0.01067, allocations: 0.886 MB / 0.7816 GB, free: 15.56 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.445670839399099]