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.001406/0.001406, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001657/0.001657, allocations: 209.2 kB / 22.24 MB, free: 5.121 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.793 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.8933/0.8933, allocations: 134 MB / 446.4 MB, free: 9.957 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.002318/0.002318, allocations: 66.3 kB / 0.619 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2015, allocations: 85.91 MB / 0.7029 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003054/0.2046, allocations: 1.258 MB / 0.7041 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2058, allocations: 0.5336 MB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.2058, allocations: 0 / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.2058, allocations: 0 / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.587e-05/0.2059, allocations: 4 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.2067, allocations: 139.4 kB / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.2067, allocations: 15.88 kB / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.2068, allocations: 4 kB / 0.7048 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.712e-05/0.2068, allocations: 3.984 kB / 0.7048 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.2069, allocations: 7.984 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2069, allocations: 0 / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.2074, allocations: 259.5 kB / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.2074, allocations: 11.98 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.2074, allocations: 3.938 kB / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.2078, allocations: 131.6 kB / 0.7052 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2078, allocations: 0 / 0.7052 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2078, allocations: 0 / 0.7052 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2078, allocations: 0 / 0.7052 GB, free: 14.2 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.0004822/0.2083, allocations: 285.9 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2083, allocations: 8.031 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.2083, allocations: 0.9375 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.2085, allocations: 114.5 kB / 0.7056 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2085, allocations: 8.312 kB / 0.7056 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2085, allocations: 384 / 0.7056 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.2086, allocations: 41.58 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2087, allocations: 0 / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2087, allocations: 0 / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2087, allocations: 0 / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.2087, allocations: 7.984 kB / 0.7056 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.2089, allocations: 105.3 kB / 0.7057 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.066e-05/0.209, allocations: 18.61 kB / 0.7057 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.209, allocations: 8.922 kB / 0.7057 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.209, allocations: 4 kB / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.2091, allocations: 34.5 kB / 0.7058 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2091, allocations: 3.938 kB / 0.7058 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.2093, allocations: 45.69 kB / 0.7058 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.2093, allocations: 51.41 kB / 0.7059 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.2094, allocations: 93.86 kB / 0.706 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2094, allocations: 29.7 kB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.2095, allocations: 80.14 kB / 0.7061 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.2095, allocations: 3.953 kB / 0.7061 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.2095, allocations: 21.95 kB / 0.7061 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2097, allocations: 314.8 kB / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.2097, allocations: 0 / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.2097, allocations: 4 kB / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.2098, allocations: 16.8 kB / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2098, allocations: 0 / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.232e-05/0.2098, allocations: 49.64 kB / 0.7065 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2099, allocations: 7.938 kB / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2099, allocations: 0 / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2099, allocations: 96 / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2101, allocations: 15.94 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004897/0.2105, allocations: 0.586 MB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.2106, allocations: 4.031 kB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2106, allocations: 0 / 0.7071 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.000104/0.2107, allocations: 117.7 kB / 0.7072 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.2107, allocations: 0 / 0.7072 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.2108, allocations: 52.98 kB / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2108, allocations: 4.125 kB / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2108, allocations: 0 / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2108, allocations: 0 / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2109, allocations: 101.3 kB / 0.7073 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.2109, allocations: 0 / 0.7073 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.211, allocations: 11.98 kB / 0.7073 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.211, allocations: 3.938 kB / 0.7073 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.211, allocations: 3.938 kB / 0.7073 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004124/0.2114, allocations: 0.5782 MB / 0.7079 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2115, allocations: 3.938 kB / 0.7079 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.932e-05/0.2115, allocations: 73.2 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.2115, allocations: 4 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.2116, allocations: 0 / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.2116, allocations: 4 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.2116, allocations: 7.875 kB / 0.708 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.2116, allocations: 0 / 0.708 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.2116, allocations: 83.27 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2116, allocations: 0 / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002003/0.2118, allocations: 4 kB / 0.7081 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.0001992/0.212, allocations: 115.3 kB / 0.7082 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.2122, allocations: 19.98 kB / 0.7082 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2122, allocations: 0 / 0.7082 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.2123, allocations: 8 kB / 0.7082 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.2125, allocations: 4 kB / 0.7082 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.2129, allocations: 114 kB / 0.7083 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.648e-05/0.213, allocations: 63.47 kB / 0.7084 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.213, allocations: 0 / 0.7084 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.213, allocations: 11.44 kB / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.213, allocations: 0 / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.003359/0.2164, allocations: 466.7 kB / 0.7088 GB, free: 10.14 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: 6.152178330346942] Failed to read output from testmodel.py, exit status != 0: 0.22594748809933662 0.24418431300000001 0.03299139 Calling exit ...