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.001577/0.001577, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00149/0.00149, allocations: 215.1 kB / 22.99 MB, free: 4.945 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8289/0.8289, allocations: 134 MB / 447.2 MB, free: 9.965 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.00214/0.00214, allocations: 71.3 kB / 0.6197 GB, free: 6.395 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1643, allocations: 85.9 MB / 0.7036 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002647/0.1669, allocations: 1.271 MB / 0.7048 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.1679, allocations: 0.5257 MB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.1679, allocations: 0 / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.168, allocations: 3.938 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.168, allocations: 0 / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.1685, allocations: 150.6 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.969e-05/0.1685, allocations: 7.938 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.1686, allocations: 4 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.1686, allocations: 7.922 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.1686, allocations: 4 kB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.844e-06/0.1686, allocations: 0 / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.1691, allocations: 263.5 kB / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1691, allocations: 7.984 kB / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.1691, allocations: 8 kB / 0.7058 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.1693, allocations: 131.5 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1693, allocations: 4 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1693, allocations: 3.938 kB / 0.7059 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1693, allocations: 0 / 0.7059 GB, free: 14.19 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.0003554/0.1697, allocations: 278 kB / 0.7062 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1697, allocations: 12.62 kB / 0.7062 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.1698, allocations: 0.9375 kB / 0.7062 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1699, allocations: 106.5 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1699, allocations: 4.375 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.1699, allocations: 8.375 kB / 0.7063 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.357e-05/0.17, allocations: 33.64 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.17, allocations: 3.984 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.17, allocations: 7.922 kB / 0.7063 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.17, allocations: 0 / 0.7063 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.17, allocations: 7.938 kB / 0.7064 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.1702, allocations: 101.4 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.1702, allocations: 18.58 kB / 0.7065 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.1702, allocations: 4.859 kB / 0.7065 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1702, allocations: 8.062 kB / 0.7065 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1703, allocations: 42.48 kB / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1703, allocations: 0 / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001167/0.1704, allocations: 37.64 kB / 0.7066 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1704, allocations: 55.41 kB / 0.7066 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.1705, allocations: 93.86 kB / 0.7067 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1705, allocations: 25.7 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.1706, allocations: 88.12 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1706, allocations: 3.953 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1706, allocations: 17.72 kB / 0.7068 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1708, allocations: 311.1 kB / 0.7071 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.1708, allocations: 4 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.1708, allocations: 4 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.1708, allocations: 12.86 kB / 0.7071 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1708, allocations: 3.938 kB / 0.7072 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.74e-05/0.1709, allocations: 41.64 kB / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1709, allocations: 11.94 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.1709, allocations: 0 / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1709, allocations: 0 / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.171, allocations: 12.08 kB / 0.7072 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000426/0.1715, allocations: 0.5821 MB / 0.7078 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.1715, allocations: 4 kB / 0.7078 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1715, allocations: 7.969 kB / 0.7078 GB, free: 12.07 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.559e-05/0.1716, allocations: 113.7 kB / 0.7079 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.1716, allocations: 0 / 0.7079 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.84e-05/0.1717, allocations: 48.98 kB / 0.7079 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1717, allocations: 7.938 kB / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1717, allocations: 8.125 kB / 0.708 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1717, allocations: 0 / 0.708 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.833e-05/0.1718, allocations: 101.2 kB / 0.7081 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1718, allocations: 7.938 kB / 0.7081 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.1719, allocations: 8 kB / 0.7081 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1719, allocations: 0 / 0.7081 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1719, allocations: 4 kB / 0.7081 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003798/0.1723, allocations: 0.5821 MB / 0.7086 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.1723, allocations: 7.922 kB / 0.7087 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.009e-05/0.1723, allocations: 69.22 kB / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.1723, allocations: 0 / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-06/0.1724, allocations: 0 / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.1724, allocations: 0 / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1724, allocations: 11.92 kB / 0.7087 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1724, allocations: 0 / 0.7087 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.1724, allocations: 75.28 kB / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1724, allocations: 3.938 kB / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001879/0.1726, allocations: 8 kB / 0.7088 GB, free: 10.94 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.0001579/0.1728, allocations: 115.3 kB / 0.7089 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.1729, allocations: 19.98 kB / 0.7089 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1729, allocations: 0 / 0.7089 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.173, allocations: 11.98 kB / 0.709 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1731, allocations: 5.5 kB / 0.709 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.1735, allocations: 127.8 kB / 0.7091 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.19e-05/0.1735, allocations: 59.47 kB / 0.7091 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.1736, allocations: 11.44 kB / 0.7092 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of SimCode: time 4e-07/0.1736, allocations: 0 / 0.7092 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.002335/0.1759, allocations: 0.7133 MB / 0.7098 GB, free: 9.82 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: 7.565211795270443] Failed to read output from testmodel.py, exit status != 0: 0.18344873515889049 0.19898359199999996 0.026496286999999938 Calling exit ...