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_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.001973/0.001973, 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.00212/0.00212, allocations: 224.2 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.681/1.681, 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.38/3.38, allocations: 0.505 GB / 0.8108 GB, free: 2.371 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004053/0.004053, allocations: 71.89 kB / 1.178 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.8846, allocations: 180.1 MB / 1.354 GB, free: 0.9805 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.00276/0.8874, allocations: 1.322 MB / 1.355 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.8886, allocations: 0.5527 MB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.8886, allocations: 0 / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.8886, allocations: 0 / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.8886, allocations: 7.922 kB / 1.356 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.8892, allocations: 162.1 kB / 1.356 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.8893, allocations: 31.86 kB / 1.356 GB, free: 14.9 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.8894, allocations: 4 kB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.8894, allocations: 15.98 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.8895, allocations: 15.92 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.8895, allocations: 0 / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005422/0.89, allocations: 315.4 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.89, allocations: 3.984 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.89, allocations: 15.94 kB / 1.356 GB, free: 14.54 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.8903, allocations: 142.3 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8903, allocations: 0 / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8903, allocations: 0 / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.8903, allocations: 4 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004691/0.8908, allocations: 307.6 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.8908, allocations: 11.98 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.8909, allocations: 4.938 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.891, allocations: 106.5 kB / 1.357 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.891, allocations: 8.375 kB / 1.357 GB, free: 13.91 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.891, allocations: 384 / 1.357 GB, free: 13.91 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.8912, allocations: 105.6 kB / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8912, allocations: 192 / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.8912, allocations: 7.938 kB / 1.357 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8912, allocations: 4 kB / 1.357 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.8913, allocations: 19.97 kB / 1.357 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.8914, allocations: 117.3 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.8916, allocations: 58.5 kB / 1.357 GB, free: 13.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.8916, allocations: 28.84 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.8916, allocations: 7.938 kB / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.8917, allocations: 30.56 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.8917, allocations: 0 / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.001105/0.8928, allocations: 443.8 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.8928, allocations: 63.34 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.8929, allocations: 97.86 kB / 1.358 GB, free: 12.8 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.8929, allocations: 25.7 kB / 1.358 GB, free: 12.77 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.893, allocations: 84.14 kB / 1.358 GB, free: 12.68 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.893, allocations: 39.64 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.8931, allocations: 29.7 kB / 1.358 GB, free: 12.61 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8933, allocations: 314.8 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.8933, allocations: 23.98 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.8933, allocations: 16 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.8934, allocations: 64.91 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.8934, allocations: 4 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001544/0.8936, allocations: 94.19 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8936, allocations: 7.938 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8936, allocations: 0 / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.8936, allocations: 0 / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.8937, allocations: 27.98 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8937, allocations: 0 / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.8938, allocations: 96 / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.8938, allocations: 7.938 kB / 1.358 GB, free: 12.04 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 (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 0.0001018/0.8939, allocations: 117.8 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.8939, allocations: 15.88 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.8941, allocations: 109.6 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8941, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8941, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8941, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.8946, allocations: 302.1 kB / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8946, allocations: 0 / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.8947, allocations: 16 kB / 1.359 GB, free: 11.44 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8947, allocations: 0 / 1.359 GB, free: 11.44 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.8947, allocations: 7.984 kB / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8947, allocations: 0 / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8947, allocations: 7.938 kB / 1.359 GB, free: 11.42 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.8953, allocations: 219.7 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.8953, allocations: 3.953 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.8953, allocations: 8.031 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.8954, allocations: 3.984 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.8954, allocations: 4 kB / 1.359 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.8954, allocations: 7.984 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.8955, allocations: 79.28 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8955, allocations: 0 / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003046/0.8958, allocations: 51.97 kB / 1.359 GB, free: 11.04 MB / 1.042 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.0002856/0.8961, allocations: 158.9 kB / 1.359 GB, free: 10.87 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.8962, allocations: 65.33 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8962, allocations: 0 / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.719e-05/0.8963, allocations: 35.92 kB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8965, allocations: 18.5 kB / 1.359 GB, free: 10.76 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.8971, allocations: 289.1 kB / 1.36 GB, free: 10.45 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.8972, allocations: 67.34 kB / 1.36 GB, free: 10.36 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.8972, allocations: 7.984 kB / 1.36 GB, free: 10.36 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.8972, allocations: 15.44 kB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of SimCode: time 7.22e-07/0.8972, allocations: 0 / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of Templates: time 0.004867/0.9021, allocations: 1.254 MB / 1.361 GB, free: 9.141 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.477967411046848]