Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001421/0.001421, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001907/0.001907, allocations: 215 kB / 22.25 MB, free: 5.262 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9243/0.9243, allocations: 134 MB / 446.4 MB, free: 9.898 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 75.66 kB / 0.619 GB, free: 6.383 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1963, allocations: 85.9 MB / 0.7029 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002633/0.1989, allocations: 1.274 MB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2, allocations: 0.5181 MB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.2, allocations: 4 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.2001, allocations: 3.938 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.2001, allocations: 7.969 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.2007, allocations: 143 kB / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.287e-05/0.2007, allocations: 19.86 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.2008, allocations: 0 / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.2008, allocations: 4 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.2008, allocations: 3.938 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2008, allocations: 4 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.2013, allocations: 271.5 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.2013, allocations: 0 / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.2013, allocations: 7.938 kB / 0.7051 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.2016, allocations: 131.6 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2016, allocations: 4 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2016, allocations: 0 / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2016, allocations: 0 / 0.7052 GB, free: 14.18 MB / 0.5294 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.000435/0.202, allocations: 281.9 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2021, allocations: 8.625 kB / 0.7055 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.2021, allocations: 8.938 kB / 0.7055 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2022, allocations: 110.5 kB / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.2022, allocations: 384 / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.2023, allocations: 384 / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.2024, allocations: 37.64 kB / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2024, allocations: 0 / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2024, allocations: 0 / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2024, allocations: 7.938 kB / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.2024, allocations: 0 / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.2025, allocations: 101.3 kB / 0.7057 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/0.2026, allocations: 26.61 kB / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.2026, allocations: 8.922 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2026, allocations: 0 / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2027, allocations: 38.5 kB / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.2027, allocations: 0 / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001505/0.2028, allocations: 45.62 kB / 0.7058 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2029, allocations: 51.41 kB / 0.7059 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.203, allocations: 97.86 kB / 0.706 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.203, allocations: 25.7 kB / 0.706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.203, allocations: 84.39 kB / 0.7061 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.203, allocations: 3.953 kB / 0.7061 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.2031, allocations: 13.72 kB / 0.7061 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2032, allocations: 318.8 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.2032, allocations: 4 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.2032, allocations: 0 / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.2033, allocations: 16.8 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2033, allocations: 0 / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.516e-05/0.2033, allocations: 41.66 kB / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2034, allocations: 12.02 kB / 0.7065 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2034, allocations: 4 kB / 0.7065 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2034, allocations: 3.938 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2035, allocations: 8 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004245/0.204, allocations: 0.586 MB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.204, allocations: 3.938 kB / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.204, allocations: 3.984 kB / 0.7071 GB, free: 12.06 MB / 0.5294 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 9.516e-05/0.2041, allocations: 121.8 kB / 0.7072 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.2041, allocations: 0 / 0.7072 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.2042, allocations: 49.09 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2042, allocations: 4 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2042, allocations: 0 / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2042, allocations: 0 / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.848e-05/0.2043, allocations: 101.3 kB / 0.7073 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2043, allocations: 0 / 0.7073 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.2044, allocations: 11.98 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2044, allocations: 0 / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.2044, allocations: 0 / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003664/0.2047, allocations: 0.5899 MB / 0.7079 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2048, allocations: 3.938 kB / 0.7079 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.2048, allocations: 69.09 kB / 0.708 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.2048, allocations: 8 kB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.2049, allocations: 0 / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.2049, allocations: 0 / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.2049, allocations: 3.938 kB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.2049, allocations: 0 / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.2049, allocations: 83.22 kB / 0.7081 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2049, allocations: 224 / 0.7081 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001944/0.2051, allocations: 15.98 kB / 0.7081 GB, free: 10.92 MB / 0.5294 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.0001671/0.2053, allocations: 103.2 kB / 0.7082 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.2055, allocations: 19.98 kB / 0.7082 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2055, allocations: 0 / 0.7082 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.2056, allocations: 15.98 kB / 0.7082 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.2057, allocations: 1.5 kB / 0.7082 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.2061, allocations: 114.2 kB / 0.7083 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.558e-05/0.2061, allocations: 63.34 kB / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.568e-05/0.2062, allocations: 0 / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.2062, allocations: 7.438 kB / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.2062, allocations: 0 / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.002901/0.2091, allocations: 474.8 kB / 0.7089 GB, free: 10.12 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.883909115567803] Failed to read output from testmodel.py, exit status != 0: 0.21711389534175396 0.23238939899999994 0.027713892 Calling exit ...