Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.002497/0.002497, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.003013/0.003013, allocations: 224.7 kB / 23.03 MB, free: 2.941 MB / 13.93 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 1.783/1.783, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 3.482/3.482, allocations: 0.505 GB / 0.8108 GB, free: 2.367 MB / 0.6511 GB " [Timeout remaining time 176] 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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_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_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004113/0.004113, allocations: 75.88 kB / 1.178 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9597/0.9638, allocations: 180.1 MB / 1.354 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.003617/0.9674, allocations: 1.306 MB / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.9689, allocations: 0.5489 MB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.969, allocations: 0 / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.969, allocations: 3.938 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.969, allocations: 0 / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.9698, allocations: 165 kB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.9699, allocations: 19.88 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.9699, allocations: 3.984 kB / 1.356 GB, free: 14.87 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.97, allocations: 7.938 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.97, allocations: 11.94 kB / 1.356 GB, free: 14.85 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.97, allocations: 4 kB / 1.356 GB, free: 14.85 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.9708, allocations: 315.4 kB / 1.356 GB, free: 14.54 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.9708, allocations: 8 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.9708, allocations: 0 / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.9712, allocations: 146.3 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9712, allocations: 0 / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9712, allocations: 0 / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.9712, allocations: 0 / 1.356 GB, free: 14.39 MB / 1.042 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.0005838/0.9718, allocations: 291.6 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.9718, allocations: 15.98 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.9719, allocations: 8.938 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.972, allocations: 102.5 kB / 1.357 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.972, allocations: 8.359 kB / 1.357 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.9721, allocations: 384 / 1.357 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.9722, allocations: 67.91 kB / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.9722, allocations: 4.172 kB / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.9722, allocations: 3.938 kB / 1.357 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.9723, allocations: 0 / 1.357 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.589e-05/0.9723, allocations: 12 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.9725, allocations: 109.3 kB / 1.357 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.9728, allocations: 42.56 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.9728, allocations: 16.86 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.9728, allocations: 3.938 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.9729, allocations: 34.56 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.9729, allocations: 0 / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.000787/0.9737, allocations: 241.1 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.9737, allocations: 51.41 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.9738, allocations: 97.86 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.9739, allocations: 29.7 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.9739, allocations: 84.14 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.974, allocations: 23.78 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.974, allocations: 21.72 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.9742, allocations: 310.8 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.9743, allocations: 15.98 kB / 1.358 GB, free: 12.63 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.9743, allocations: 11.98 kB / 1.358 GB, free: 12.62 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.738e-05/0.9744, allocations: 32.8 kB / 1.358 GB, free: 12.58 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.9744, allocations: 64 / 1.358 GB, free: 12.58 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001628/0.9745, allocations: 69.69 kB / 1.358 GB, free: 12.51 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9746, allocations: 6.344 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9746, allocations: 7.938 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9746, allocations: 4 kB / 1.358 GB, free: 12.49 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.9747, allocations: 11.98 kB / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9747, allocations: 0 / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.9747, allocations: 0 / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.9747, allocations: 7.938 kB / 1.358 GB, free: 12.47 MB / 1.042 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 0.0001173/0.9748, allocations: 117.8 kB / 1.358 GB, free: 12.35 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.9748, allocations: 3.953 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.975, allocations: 73.67 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.975, allocations: 4 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.975, allocations: 0 / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.975, allocations: 4 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.9755, allocations: 255.1 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.9755, allocations: 3.938 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.9756, allocations: 11.98 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9756, allocations: 7.938 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.9756, allocations: 4 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.9756, allocations: 0 / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9756, allocations: 0 / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.9758, allocations: 180.6 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.9759, allocations: 11.92 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.9759, allocations: 4.094 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.976, allocations: 4.188 kB / 1.358 GB, free: 11.72 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.976, allocations: 7.984 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.976, allocations: 8 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.9761, allocations: 75.28 kB / 1.359 GB, free: 11.63 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.9761, allocations: 0 / 1.359 GB, free: 11.63 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004374/0.9765, allocations: 35.86 kB / 1.359 GB, free: 11.6 MB / 1.042 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.0002729/0.9768, allocations: 135.1 kB / 1.359 GB, free: 11.46 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.977, allocations: 31.91 kB / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.977, allocations: 8 kB / 1.359 GB, free: 11.42 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.977, allocations: 12 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.9773, allocations: 18.52 kB / 1.359 GB, free: 11.39 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.9779, allocations: 189.1 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.978, allocations: 63.34 kB / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.978, allocations: 7.984 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.978, allocations: 11.44 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of SimCode: time 3.51e-07/0.978, allocations: 0 / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of Templates: time 0.004801/0.9828, allocations: 0.8335 MB / 1.36 GB, free: 10.29 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.7282392650377]