Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.001072/0.001072, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002528, allocations: 441.7 kB / 10.32 MB, free: 380 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.0007869/0.0007869, allocations: 145.2 kB / 11.2 MB, free: 2.969 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001801, allocations: 471.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.9986/0.9986, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09183/1.09, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.937/1.937, allocations: 389.9 MB / 0.619 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4959/2.433, allocations: 127.1 MB / 0.7431 GB, free: 4.656 MB / 0.7136 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.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7444 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.323e-05, allocations: 10.91 kB / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001774/0.001797, allocations: 1.371 MB / 0.7457 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006158/0.002413, allocations: 0.5623 MB / 0.7463 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.00243, allocations: 0 / 0.7463 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.584e-06/0.002438, allocations: 0 / 0.7463 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.114e-05/0.002459, allocations: 3.844 kB / 0.7463 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.002749, allocations: 148.9 kB / 0.7464 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.573e-05/0.002795, allocations: 15.7 kB / 0.7465 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.002826, allocations: 0 / 0.7465 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.00287, allocations: 4.656 kB / 0.7465 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.002912, allocations: 6.234 kB / 0.7465 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.447e-06/0.002922, allocations: 0 / 0.7465 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.003265, allocations: 335.2 kB / 0.7468 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-06/0.003274, allocations: 4 kB / 0.7468 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.397e-05/0.003288, allocations: 0 / 0.7468 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.00347, allocations: 128.8 kB / 0.7469 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.003481, allocations: 0 / 0.7469 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003482, allocations: 0 / 0.7469 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.003493, allocations: 5.5 kB / 0.7469 GB, free: 0.8438 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003036/0.003797, allocations: 260.3 kB / 0.7472 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.003827, allocations: 8.031 kB / 0.7472 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.003852, allocations: 4.938 kB / 0.7472 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.919e-05/0.003922, allocations: 112.4 kB / 0.7473 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.00393, allocations: 4.359 kB / 0.7473 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.00394, allocations: 12.31 kB / 0.7473 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.841e-05/0.003998, allocations: 30.25 kB / 0.7473 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004004, allocations: 192 / 0.7473 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.004009, allocations: 4.375 kB / 0.7473 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.004014, allocations: 384 / 0.7473 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-06/0.004023, allocations: 6.375 kB / 0.7473 GB, free: 368 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.947e-05/0.004102, allocations: 57.05 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.615e-05/0.004138, allocations: 18.61 kB / 0.7474 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.225e-05/0.00415, allocations: 14.03 kB / 0.7474 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.004165, allocations: 0 / 0.7474 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.004185, allocations: 39.64 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.004186, allocations: 0 / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.534e-05/0.004271, allocations: 36.39 kB / 0.7475 GB, free: 164 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.004294, allocations: 51.41 kB / 0.7476 GB, free: 100 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.004353, allocations: 98.77 kB / 0.7476 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.004362, allocations: 25.7 kB / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.853e-05/0.00438, allocations: 84.08 kB / 0.7477 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.004402, allocations: 11.94 kB / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.004423, allocations: 16.47 kB / 0.7478 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.004491, allocations: 318.8 kB / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.004497, allocations: 3.938 kB / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-06/0.004502, allocations: 0 / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.004524, allocations: 16.84 kB / 0.7481 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004526, allocations: 0 / 0.7481 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.801e-05/0.004564, allocations: 40.05 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.004574, allocations: 4 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.004578, allocations: 0 / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.004586, allocations: 4 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.004697, allocations: 7.984 kB / 0.7482 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000237/0.004934, allocations: 0.5865 MB / 0.7487 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.004948, allocations: 0 / 0.7487 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.004952, allocations: 0.6875 kB / 0.7487 GB, free: 14.83 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.005012, allocations: 114.6 kB / 0.7488 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-06/0.005016, allocations: 0.5938 kB / 0.7488 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.005093, allocations: 54.38 kB / 0.7489 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.005096, allocations: 3.938 kB / 0.7489 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005098, allocations: 0 / 0.7489 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.0051, allocations: 0 / 0.7489 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.347e-05/0.005154, allocations: 67.02 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.005155, allocations: 0 / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.005205, allocations: 8 kB / 0.749 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.005207, allocations: 0.9062 kB / 0.749 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.005212, allocations: 3.984 kB / 0.749 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001831/0.005395, allocations: 0.5866 MB / 0.7495 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005396, allocations: 0.75 kB / 0.7495 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.061e-05/0.005437, allocations: 57.61 kB / 0.7496 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.005446, allocations: 11.91 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.005453, allocations: 0.6562 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.005461, allocations: 4.719 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-06/0.00547, allocations: 0 / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.005472, allocations: 1.438 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.085e-06/0.00548, allocations: 4.859 kB / 0.7496 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00548, allocations: 0 / 0.7496 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001218/0.005602, allocations: 24.53 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.005753, allocations: 118 kB / 0.7498 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.651e-05/0.005829, allocations: 12.86 kB / 0.7498 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.005831, allocations: 0 / 0.7498 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.005853, allocations: 21.59 kB / 0.7498 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.181e-05/0.005915, allocations: 5.109 kB / 0.7498 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.006142, allocations: 110.8 kB / 0.7499 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.556e-05/0.006168, allocations: 51.36 kB / 0.7499 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.006185, allocations: 0.875 kB / 0.7499 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.006211, allocations: 51.38 kB / 0.75 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of SimCode: time 6.12e-07/0.006212, allocations: 0.5312 kB / 0.75 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.001986/0.008198, allocations: 0.6158 MB / 0.7506 GB, free: 12.85 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.810667891986668]