Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.0008932/0.0008932, allocations: 83.67 kB / 21.81 MB, free: 2.496 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.0009264/0.0009264, allocations: 165.3 kB / 25.27 MB, free: 8.961 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.9362/0.9362, allocations: 177.1 MB / 205.8 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 378.2 MB / 0.6255 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 0.7618 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.41e-05, allocations: 2.312 kB / 0.7618 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.002853/0.002877, allocations: 1.381 MB / 0.7631 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003937, allocations: 0.5837 MB / 0.7637 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.003981, allocations: 0 / 0.7637 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.004011, allocations: 11.92 kB / 0.7637 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.004077, allocations: 7.938 kB / 0.7637 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.004901, allocations: 143.2 kB / 0.7638 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.005002, allocations: 23.92 kB / 0.7639 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.005054, allocations: 3.984 kB / 0.7639 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.522e-05/0.00514, allocations: 11.92 kB / 0.7639 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.005202, allocations: 4 kB / 0.7639 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.00522, allocations: 4 kB / 0.7639 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.005868, allocations: 331.3 kB / 0.7642 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.00589, allocations: 0 / 0.7642 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.005919, allocations: 15.92 kB / 0.7642 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.006254, allocations: 159.4 kB / 0.7644 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.006259, allocations: 0 / 0.7644 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.422e-06/0.006261, allocations: 0 / 0.7644 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.006266, allocations: 0 / 0.7644 GB, free: 10.21 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.0004125/0.006678, allocations: 264.2 kB / 0.7646 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.006722, allocations: 8.031 kB / 0.7646 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.006759, allocations: 4.938 kB / 0.7646 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.00686, allocations: 114 kB / 0.7647 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.006872, allocations: 4.375 kB / 0.7647 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.0069, allocations: 8.375 kB / 0.7648 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.007003, allocations: 59.95 kB / 0.7648 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.007012, allocations: 192 / 0.7648 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.007021, allocations: 384 / 0.7648 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.007032, allocations: 4.375 kB / 0.7648 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.007062, allocations: 15.86 kB / 0.7648 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.007181, allocations: 61.05 kB / 0.7649 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.007368, allocations: 34.61 kB / 0.7649 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.00739, allocations: 8.859 kB / 0.7649 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.007408, allocations: 4 kB / 0.7649 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.007442, allocations: 38.56 kB / 0.765 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.684e-06/0.007444, allocations: 0 / 0.765 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005774/0.008021, allocations: 229.4 kB / 0.7652 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.008057, allocations: 55.39 kB / 0.7652 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.008118, allocations: 102.7 kB / 0.7653 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.008136, allocations: 33.7 kB / 0.7654 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.008162, allocations: 80.14 kB / 0.7655 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.008197, allocations: 19.8 kB / 0.7655 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.008238, allocations: 29.69 kB / 0.7655 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.008327, allocations: 314.8 kB / 0.7658 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.008343, allocations: 4 kB / 0.7658 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.008357, allocations: 7.984 kB / 0.7658 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.0084, allocations: 24.83 kB / 0.7658 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008401, allocations: 0 / 0.7658 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.635e-05/0.008478, allocations: 53.62 kB / 0.7659 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.008493, allocations: 4 kB / 0.7659 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008499, allocations: 0 / 0.7659 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.008509, allocations: 3.938 kB / 0.7659 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.008569, allocations: 16 kB / 0.7659 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.008572, allocations: 240 / 0.7659 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.00859, allocations: 7.938 kB / 0.7659 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.008597, allocations: 4 kB / 0.7659 GB, free: 8.434 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 6.569e-05/0.008662, allocations: 109.8 kB / 0.766 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.008674, allocations: 4 kB / 0.766 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.008797, allocations: 57.75 kB / 0.7661 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.008802, allocations: 7.984 kB / 0.7661 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008803, allocations: 128 / 0.7661 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.008807, allocations: 0 / 0.7661 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.009033, allocations: 219.6 kB / 0.7663 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.009036, allocations: 0 / 0.7663 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.009103, allocations: 12 kB / 0.7663 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.009107, allocations: 0 / 0.7663 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.009113, allocations: 0 / 0.7663 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.009115, allocations: 0 / 0.7663 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.009119, allocations: 7.969 kB / 0.7663 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.009259, allocations: 164.3 kB / 0.7665 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.009281, allocations: 7.984 kB / 0.7665 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.009293, allocations: 0 / 0.7665 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.009354, allocations: 12.06 kB / 0.7665 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.009372, allocations: 7.922 kB / 0.7665 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.009378, allocations: 4 kB / 0.7665 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.043e-05/0.009388, allocations: 4.859 kB / 0.7665 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009388, allocations: 0 / 0.7665 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002836/0.009672, allocations: 43.81 kB / 0.7666 GB, free: 7.719 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.0002234/0.009895, allocations: 120.2 kB / 0.7667 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.009978, allocations: 32.78 kB / 0.7667 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.009982, allocations: 4 kB / 0.7667 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.01, allocations: 20.84 kB / 0.7667 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01017, allocations: 7.938 kB / 0.7667 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.01071, allocations: 193.8 kB / 0.7669 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.01075, allocations: 63.34 kB / 0.767 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.01078, allocations: 7.938 kB / 0.767 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.01083, allocations: 55.38 kB / 0.767 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of SimCode: time 7.61e-07/0.01083, allocations: 0 / 0.767 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of Templates: time 0.003568/0.0144, allocations: 1.085 MB / 0.7681 GB, free: 6.109 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5136109460145235]