Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001448/0.001448, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.001892/0.001892, allocations: 169 kB / 24.25 MB, free: 204 kB / 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.9912/0.9912, allocations: 177.2 MB / 204.7 MB, free: 5.438 MB / 186.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.867/1.867, allocations: 389.6 MB / 0.6355 GB, free: 12.26 MB / 0.6042 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7754 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.573e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001884/0.0019, allocations: 1.368 MB / 0.7767 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006803/0.00258, allocations: 0.5499 MB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.002602, allocations: 0 / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.002619, allocations: 0.5312 kB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.002662, allocations: 4.641 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.003018, allocations: 140.2 kB / 0.7774 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.469e-05/0.003063, allocations: 17.25 kB / 0.7774 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.003098, allocations: 0 / 0.7774 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.003128, allocations: 4 kB / 0.7774 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.153e-05/0.00317, allocations: 4.484 kB / 0.7774 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.003184, allocations: 4.75 kB / 0.7774 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.003477, allocations: 275.4 kB / 0.7777 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.003492, allocations: 5.797 kB / 0.7777 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.274e-05/0.003505, allocations: 4 kB / 0.7777 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.003675, allocations: 143.5 kB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003676, allocations: 4 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003677, allocations: 0 / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.003681, allocations: 2.75 kB / 0.7778 GB, free: 2.816 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002567/0.003937, allocations: 260.2 kB / 0.7781 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.003973, allocations: 8.75 kB / 0.7781 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.003997, allocations: 8.938 kB / 0.7781 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.875e-05/0.004065, allocations: 101.8 kB / 0.7782 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.004073, allocations: 384 / 0.7782 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.004081, allocations: 4.375 kB / 0.7782 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.16e-05/0.004143, allocations: 33.5 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.00415, allocations: 192 / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004159, allocations: 4.375 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.004163, allocations: 384 / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.089e-05/0.004174, allocations: 7.875 kB / 0.7782 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.937e-05/0.004253, allocations: 57.39 kB / 0.7783 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.00429, allocations: 18.61 kB / 0.7783 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.004305, allocations: 13.58 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.004318, allocations: 0 / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.004335, allocations: 31.69 kB / 0.7783 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.004336, allocations: 0 / 0.7783 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 8.23e-05/0.004419, allocations: 42.69 kB / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.004446, allocations: 51.41 kB / 0.7784 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.573e-05/0.004492, allocations: 103.2 kB / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.0045, allocations: 26.48 kB / 0.7786 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.004519, allocations: 80.14 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.004541, allocations: 12.41 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.004561, allocations: 17.72 kB / 0.7787 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.004635, allocations: 315.8 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.00464, allocations: 4 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-06/0.004647, allocations: 0.9688 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.004669, allocations: 8.859 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004671, allocations: 1.125 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.183e-05/0.004703, allocations: 41.62 kB / 0.779 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.004713, allocations: 5.594 kB / 0.779 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.004717, allocations: 0 / 0.779 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.004726, allocations: 7.984 kB / 0.779 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.004823, allocations: 7.984 kB / 0.779 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002164/0.005039, allocations: 0.5865 MB / 0.7796 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-06/0.005049, allocations: 1.312 kB / 0.7796 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.005053, allocations: 3.938 kB / 0.7796 GB, free: 0.8086 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 0.0003313/0.005384, allocations: 119.4 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-06/0.005387, allocations: 0 / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.005446, allocations: 37 kB / 0.7798 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.005451, allocations: 9.281 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005452, allocations: 0 / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005455, allocations: 0 / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.355e-05/0.005499, allocations: 65.89 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.0055, allocations: 0.7188 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.005536, allocations: 8 kB / 0.7798 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005537, allocations: 0.5312 kB / 0.7798 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.005542, allocations: 5.781 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001827/0.005724, allocations: 0.5898 MB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005725, allocations: 0 / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.78e-05/0.005763, allocations: 58.64 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.005772, allocations: 11.92 kB / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-06/0.005779, allocations: 0 / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-06/0.005784, allocations: 0 / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.005794, allocations: 1.031 kB / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-07/0.005795, allocations: 4 kB / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.037e-06/0.005804, allocations: 9.953 kB / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005804, allocations: 0 / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 9.669e-05/0.005901, allocations: 15.88 kB / 0.7805 GB, free: 15.81 MB / 0.7448 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.000106/0.006007, allocations: 89.62 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.859e-05/0.006096, allocations: 17.88 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.006098, allocations: 0 / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-05/0.006126, allocations: 22.16 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.178e-05/0.006178, allocations: 0 / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.006383, allocations: 129.4 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.571e-05/0.006409, allocations: 52.73 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.006421, allocations: 0 / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.006445, allocations: 52.88 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.006446, allocations: 0 / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of Templates: time 0.001767/0.008213, allocations: 0.5414 MB / 0.7814 GB, free: 14.93 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.874778192490339]