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.0007549/0.0007549, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.00192, allocations: 449.7 kB / 10.33 MB, free: 372 kB / 10.45 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.001093/0.001093, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.00251, allocations: 463.6 kB / 11.66 MB, free: 2.504 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 0.9239/0.9239, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08728/1.011, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.706/1.706, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.519/2.225, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 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="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",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="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0.9844 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.925e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.003059/0.003089, allocations: 1.38 MB / 0.7306 GB, free: 3.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000971/0.00406, allocations: 0.5876 MB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.004089, allocations: 1 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.004104, allocations: 7.922 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.004141, allocations: 10.48 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.004719, allocations: 141.7 kB / 0.7313 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.347e-05/0.004803, allocations: 26.09 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.004855, allocations: 4.5 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.004944, allocations: 20.8 kB / 0.7314 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.004999, allocations: 4 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.005012, allocations: 1.438 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005614/0.005573, allocations: 327.3 kB / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.005588, allocations: 4 kB / 0.7317 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.005606, allocations: 4 kB / 0.7317 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.005893, allocations: 136.2 kB / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.005909, allocations: 0 / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.312e-06/0.00591, allocations: 0.6875 kB / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.005926, allocations: 0 / 0.7319 GB, free: 1.949 MB / 0.698 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.0004981/0.006424, allocations: 278.1 kB / 0.7321 GB, free: 1.652 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.006458, allocations: 8.031 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.0065, allocations: 4.938 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.006618, allocations: 117.7 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.006639, allocations: 9.266 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.006667, allocations: 384 / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.006772, allocations: 69.08 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.006781, allocations: 192 / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.006789, allocations: 4.375 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.006795, allocations: 384 / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.006821, allocations: 8.438 kB / 0.7323 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.006931, allocations: 61.91 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.007127, allocations: 31.59 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.007152, allocations: 16.84 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.007176, allocations: 4.562 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.007208, allocations: 38.44 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.007209, allocations: 1.719 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.000653/0.007862, allocations: 221.2 kB / 0.7327 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.007894, allocations: 56.59 kB / 0.7327 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.007958, allocations: 110.7 kB / 0.7328 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.007972, allocations: 29.7 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.007999, allocations: 81.05 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.008041, allocations: 23.75 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.008083, allocations: 21.7 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.008186, allocations: 319.7 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.008202, allocations: 8 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/0.008216, allocations: 8.469 kB / 0.7333 GB, free: 284 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.008265, allocations: 24.83 kB / 0.7333 GB, free: 256 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.008266, allocations: 1.031 kB / 0.7333 GB, free: 256 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.546e-05/0.008352, allocations: 49.69 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.008367, allocations: 4 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008372, allocations: 1.203 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.008383, allocations: 1.781 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.008456, allocations: 15.98 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.008464, allocations: 3.938 kB / 0.7334 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.008485, allocations: 7.938 kB / 0.7334 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.008491, allocations: 0 / 0.7334 GB, free: 168 kB / 0.698 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.481e-05/0.008556, allocations: 107.1 kB / 0.7335 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.008569, allocations: 8 kB / 0.7335 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.008705, allocations: 65.72 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008708, allocations: 2.062 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008709, allocations: 0 / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008713, allocations: 0 / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.00896, allocations: 211.6 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008962, allocations: 0 / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.009029, allocations: 16.73 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009031, allocations: 0 / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.009037, allocations: 0.875 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.009041, allocations: 4 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/0.009049, allocations: 4.594 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.009206, allocations: 168.5 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.00923, allocations: 9.844 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.009252, allocations: 7.984 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.103e-05/0.009313, allocations: 0 / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.00933, allocations: 3.938 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.009336, allocations: 4 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.243e-05/0.009348, allocations: 6.047 kB / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009348, allocations: 4 kB / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002871/0.009636, allocations: 43.8 kB / 0.7341 GB, free: 15.45 MB / 0.7136 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.0002853/0.009921, allocations: 133.6 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.01001, allocations: 28.84 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.01001, allocations: 4.562 kB / 0.7342 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.01004, allocations: 17.48 kB / 0.7342 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.01021, allocations: 8 kB / 0.7342 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.01083, allocations: 209.7 kB / 0.7344 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.036e-05/0.01088, allocations: 63.34 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.01094, allocations: 55.38 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/0.01094, allocations: 0 / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.002568/0.01351, allocations: 1.031 MB / 0.7356 GB, free: 13.91 MB / 0.7136 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 -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.663971197791398]