Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001269/0.001269, 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.001437/0.001437, allocations: 214.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.409/1.409, 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.8238/0.8238, allocations: 134 MB / 447.2 MB, free: 9.949 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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [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.002005/0.002005, allocations: 62.72 kB / 0.6197 GB, free: 6.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1637, allocations: 85.91 MB / 0.7036 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002409/0.1661, allocations: 1.266 MB / 0.7048 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1671, allocations: 0.5297 MB / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.1671, allocations: 0 / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1671, allocations: 0 / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.1672, allocations: 3.984 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.1677, allocations: 143.1 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.702e-05/0.1677, allocations: 11.94 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.1678, allocations: 11.98 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.1678, allocations: 0 / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.1678, allocations: 7.938 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1679, allocations: 0 / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.1683, allocations: 267.5 kB / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1683, allocations: 0 / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.1683, allocations: 4 kB / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1686, allocations: 135.5 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1686, allocations: 0 / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1686, allocations: 0 / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1686, allocations: 0 / 0.7059 GB, free: 14.21 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.0003924/0.169, allocations: 286 kB / 0.7062 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.169, allocations: 12.03 kB / 0.7062 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.169, allocations: 4.938 kB / 0.7062 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1691, allocations: 106.5 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1691, allocations: 4.375 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1691, allocations: 4.312 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.992e-05/0.1692, allocations: 45.56 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1693, allocations: 0 / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.1693, allocations: 0 / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1693, allocations: 0 / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.1693, allocations: 8 kB / 0.7064 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.1694, allocations: 97.36 kB / 0.7064 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.709e-05/0.1695, allocations: 30.5 kB / 0.7065 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.1695, allocations: 4.859 kB / 0.7065 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1695, allocations: 8.047 kB / 0.7065 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1696, allocations: 34.5 kB / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1696, allocations: 3.938 kB / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001314/0.1697, allocations: 37.7 kB / 0.7066 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1697, allocations: 55.41 kB / 0.7066 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.1698, allocations: 97.97 kB / 0.7067 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1698, allocations: 29.7 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.1699, allocations: 84.14 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1699, allocations: 3.953 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1699, allocations: 13.72 kB / 0.7068 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1701, allocations: 314.8 kB / 0.7071 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.1701, allocations: 0 / 0.7071 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.557e-06/0.1701, allocations: 4 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.1701, allocations: 16.78 kB / 0.7072 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1701, allocations: 4.188 kB / 0.7072 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.603e-05/0.1702, allocations: 41.66 kB / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1702, allocations: 11.94 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1702, allocations: 3.984 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1702, allocations: 0 / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1704, allocations: 11.98 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004089/0.1708, allocations: 0.5821 MB / 0.7078 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.1708, allocations: 0 / 0.7078 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1708, allocations: 4.031 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 0.0001066/0.1709, allocations: 121.8 kB / 0.7079 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-06/0.1709, allocations: 0 / 0.7079 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.171, allocations: 45 kB / 0.708 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.171, allocations: 4 kB / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.171, allocations: 0 / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.171, allocations: 0 / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.309e-05/0.1711, allocations: 101.2 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1711, allocations: 4 kB / 0.7081 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.1712, allocations: 4 kB / 0.7081 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1712, allocations: 8.031 kB / 0.7081 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.1712, allocations: 7.875 kB / 0.7081 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003661/0.1716, allocations: 0.586 MB / 0.7086 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1716, allocations: 3.938 kB / 0.7087 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.671e-05/0.1717, allocations: 69.12 kB / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.1717, allocations: 4 kB / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1717, allocations: 3.984 kB / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.1717, allocations: 0 / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.1717, allocations: 11.88 kB / 0.7087 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1717, allocations: 4.125 kB / 0.7087 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.1717, allocations: 75.28 kB / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1717, allocations: 0 / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001899/0.1719, 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.0001591/0.1721, allocations: 107.2 kB / 0.7089 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1722, allocations: 23.98 kB / 0.7089 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1722, allocations: 0 / 0.7089 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.1723, allocations: 16.14 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.000137/0.1725, allocations: 4.75 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.000339/0.1728, allocations: 131.8 kB / 0.7091 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.938e-05/0.1729, allocations: 55.36 kB / 0.7091 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.1729, allocations: 7.438 kB / 0.7092 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1729, allocations: 0 / 0.7092 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.002385/0.1753, allocations: 0.7102 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_dp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.625154112931341] Failed to read output from testmodel.py, exit status != 0: 0.18274108367040753 0.19803131599999996 0.02647776199999994 Calling exit ...