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.001291/0.001291, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001439/0.001439, allocations: 219 kB / 23.01 MB, free: 4.609 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.8687/0.8687, allocations: 134 MB / 447.2 MB, free: 10.24 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.00203/0.00203, allocations: 74.77 kB / 0.6198 GB, free: 6.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1811, allocations: 85.9 MB / 0.7037 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002395/0.1835, allocations: 1.285 MB / 0.7049 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1846, allocations: 0.592 MB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.1846, allocations: 0 / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.1846, allocations: 7.938 kB / 0.7055 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.1846, allocations: 0 / 0.7055 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.1852, allocations: 151.1 kB / 0.7056 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.829e-05/0.1852, allocations: 7.938 kB / 0.7056 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.1853, allocations: 7.984 kB / 0.7057 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.1853, allocations: 3.938 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.1853, allocations: 4 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1853, allocations: 0 / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.1859, allocations: 347.3 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.1859, allocations: 7.984 kB / 0.706 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.1859, allocations: 3.938 kB / 0.706 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1862, allocations: 135.6 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1862, allocations: 3.938 kB / 0.7061 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1862, allocations: 0 / 0.7061 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1862, allocations: 0 / 0.7061 GB, free: 14.35 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.0003954/0.1866, allocations: 281.9 kB / 0.7064 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1866, allocations: 12.03 kB / 0.7064 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.1866, allocations: 0.9375 kB / 0.7064 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1867, allocations: 114.5 kB / 0.7065 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.1867, allocations: 384 / 0.7065 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1868, allocations: 4.375 kB / 0.7065 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.242e-05/0.1868, allocations: 41.56 kB / 0.7066 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1869, allocations: 0 / 0.7066 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1869, allocations: 4 kB / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1869, allocations: 0 / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.1869, allocations: 4 kB / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.187, allocations: 124.8 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.1871, allocations: 26.55 kB / 0.7067 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.1871, allocations: 4.859 kB / 0.7067 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1871, allocations: 3.938 kB / 0.7067 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1872, allocations: 34.62 kB / 0.7068 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1872, allocations: 0 / 0.7068 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001436/0.1873, allocations: 41.69 kB / 0.7068 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1874, allocations: 59.47 kB / 0.7069 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.1874, allocations: 97.86 kB / 0.707 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1874, allocations: 25.7 kB / 0.707 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.1875, allocations: 80.14 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1875, allocations: 3.953 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1875, allocations: 13.72 kB / 0.7071 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1877, allocations: 318.8 kB / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.1877, allocations: 8.125 kB / 0.7074 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.1877, allocations: 0 / 0.7074 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.1877, allocations: 8.859 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1877, allocations: 0 / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.407e-05/0.1878, allocations: 53.53 kB / 0.7074 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1878, allocations: 4 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1878, allocations: 3.984 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1878, allocations: 0 / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.188, allocations: 12 kB / 0.7075 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004219/0.1884, allocations: 0.5822 MB / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.1884, allocations: 0 / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1884, allocations: 4.031 kB / 0.708 GB, free: 12.2 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 8.937e-05/0.1885, allocations: 121.7 kB / 0.7082 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.1885, allocations: 0 / 0.7082 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.1886, allocations: 56.97 kB / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1886, allocations: 0 / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1886, allocations: 4 kB / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1886, allocations: 3.938 kB / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1887, allocations: 116.7 kB / 0.7083 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1887, allocations: 4 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.475e-05/0.1888, allocations: 7.984 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1888, allocations: 4 kB / 0.7083 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1888, allocations: 0 / 0.7083 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003637/0.1892, allocations: 0.5899 MB / 0.7089 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.1892, allocations: 7.922 kB / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.359e-05/0.1893, allocations: 65.11 kB / 0.709 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.1893, allocations: 4 kB / 0.709 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1893, allocations: 3.938 kB / 0.709 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.1893, allocations: 4.125 kB / 0.709 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.1893, allocations: 0 / 0.709 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1893, allocations: 3.984 kB / 0.709 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.1894, allocations: 79.28 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1894, allocations: 0 / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001946/0.1896, allocations: 8 kB / 0.7091 GB, free: 11.03 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.0001544/0.1897, allocations: 107.2 kB / 0.7092 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1899, allocations: 28.02 kB / 0.7092 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1899, allocations: 0 / 0.7092 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.19, allocations: 12 kB / 0.7092 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1901, allocations: 3.984 kB / 0.7092 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.1905, allocations: 123.9 kB / 0.7093 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1908, allocations: 0.6769 MB / 0.71 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.1908, allocations: 11.44 kB / 0.71 GB, free: 10 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1908, allocations: 0 / 0.71 GB, free: 10 MB / 0.5294 GB Notification: Performance of Templates: time 0.002442/0.1933, allocations: 0.6946 MB / 0.7107 GB, free: 9.305 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: 8.130253916140646] Failed to read output from testmodel.py, exit status != 0: 0.2010955170262605 0.21656344500000002 0.027287081 Calling exit ...