Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001316/0.001316, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001455/0.001455, allocations: 165 kB / 24.25 MB, free: 208 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.9372/0.9372, allocations: 177.1 MB / 204.7 MB, free: 5.453 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.871/1.871, allocations: 389.6 MB / 0.6355 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7754 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.042e-05, allocations: 5.547 kB / 0.7754 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001717/0.001737, allocations: 1.381 MB / 0.7767 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007086/0.002446, allocations: 0.5895 MB / 0.7773 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.002468, allocations: 0 / 0.7773 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.002484, allocations: 0 / 0.7773 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.002519, allocations: 5.797 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.002874, allocations: 147.4 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.002926, allocations: 31.84 kB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.002962, allocations: 11.98 kB / 0.7775 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.002996, allocations: 15.98 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.00304, allocations: 11.97 kB / 0.7775 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.003052, allocations: 0 / 0.7775 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.003341, allocations: 275.4 kB / 0.7778 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.003357, allocations: 7.984 kB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.003374, allocations: 15.92 kB / 0.7778 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.003558, allocations: 158.4 kB / 0.7779 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00356, allocations: 3.938 kB / 0.778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003561, allocations: 0 / 0.778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003565, allocations: 0 / 0.778 GB, free: 2.648 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002311/0.003796, allocations: 268.6 kB / 0.7782 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.003827, allocations: 8.75 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.003848, allocations: 8.938 kB / 0.7782 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.533e-05/0.003913, allocations: 114.7 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-06/0.003921, allocations: 384 / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.003939, allocations: 5.531 kB / 0.7783 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.607e-05/0.004016, allocations: 97.64 kB / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.004023, allocations: 192 / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.00403, allocations: 5.375 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.004033, allocations: 384 / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.004058, allocations: 23.91 kB / 0.7785 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.135e-05/0.004139, allocations: 65.64 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.007e-05/0.004209, allocations: 55.05 kB / 0.7786 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.004228, allocations: 21.44 kB / 0.7786 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.00424, allocations: 0 / 0.7786 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.00426, allocations: 40.06 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.004261, allocations: 0 / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0006419/0.004903, allocations: 434.4 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.004928, allocations: 55.41 kB / 0.7791 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.004974, allocations: 103.5 kB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.004984, allocations: 35.39 kB / 0.7792 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.005002, allocations: 80.14 kB / 0.7793 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.005034, allocations: 43.62 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.005062, allocations: 25.7 kB / 0.7794 GB, free: 1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.005135, allocations: 322.8 kB / 0.7797 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.005149, allocations: 8.688 kB / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.005164, allocations: 8 kB / 0.7797 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.005205, allocations: 44.92 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.005207, allocations: 0 / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.742e-05/0.005274, allocations: 69.61 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005286, allocations: 6.344 kB / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.005291, allocations: 0.8438 kB / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.005298, allocations: 4 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.005356, allocations: 23.98 kB / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.005359, allocations: 4.5 kB / 0.7798 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.005371, allocations: 5.438 kB / 0.7799 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.005377, allocations: 3.984 kB / 0.7799 GB, free: 0.5 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 (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 4.986e-05/0.005426, allocations: 117.8 kB / 0.78 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.005436, allocations: 12.86 kB / 0.78 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.839e-05/0.005525, allocations: 69.8 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005527, allocations: 4.875 kB / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.005528, allocations: 0 / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.005532, allocations: 3.938 kB / 0.7801 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.005723, allocations: 235.4 kB / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005725, allocations: 1.406 kB / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.005785, allocations: 19.98 kB / 0.7803 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005787, allocations: 0 / 0.7803 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.005793, allocations: 4 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.005795, allocations: 1.25 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.005796, allocations: 3.938 kB / 0.7803 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.005929, allocations: 183.4 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.005935, allocations: 4.516 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.005945, allocations: 8.594 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.005982, allocations: 0 / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.005995, allocations: 12.98 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.006001, allocations: 4 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.427e-05/0.006015, allocations: 9.359 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006015, allocations: 0.5312 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00015/0.006165, allocations: 43.75 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001277/0.006293, allocations: 117.2 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.006365, allocations: 48.25 kB / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.006368, allocations: 4 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.006392, allocations: 37.95 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.735e-05/0.00649, allocations: 4 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.006922, allocations: 221 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.006953, allocations: 66.78 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.006983, allocations: 4 kB / 0.781 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.007031, allocations: 67.36 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.007032, allocations: 4 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of Templates: time 0.002473/0.009505, allocations: 1.058 MB / 0.7821 GB, free: 14.17 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.917977757751942]