Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002434/0.002434, allocations: 187.1 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.156/1.156, allocations: 177.9 MB / 484.2 MB, free: 5.43 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 64.3 kB / 0.674 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7441, allocations: 95.17 MB / 0.7669 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01952/0.7636, allocations: 14.69 MB / 0.7813 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007916/0.7715, allocations: 3.679 MB / 0.7848 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.7727, allocations: 28.47 kB / 0.7849 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009735/0.7736, allocations: 212.6 kB / 0.7851 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.7765, allocations: 0.6251 MB / 0.7857 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.7781, allocations: 410.2 kB / 0.7861 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.7803, allocations: 1.126 MB / 0.7872 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005385/0.7808, allocations: 258.4 kB / 0.7874 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.7824, allocations: 455 kB / 0.7879 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.7829, allocations: 320.2 kB / 0.7882 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.7829, allocations: 32.94 kB / 0.7882 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008594/0.7838, allocations: 268.5 kB / 0.7885 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.7839, allocations: 106.5 kB / 0.7886 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.7842, allocations: 216.6 kB / 0.7888 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.7854, allocations: 0.5914 MB / 0.7893 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.7854, allocations: 0 / 0.7893 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7854, allocations: 0 / 0.7893 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.7854, allocations: 0 / 0.7893 GB, free: 8.996 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001485/0.7869, allocations: 0.6873 MB / 0.79 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.787, allocations: 13.44 kB / 0.79 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.7872, allocations: 52.36 kB / 0.7901 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/0.7881, allocations: 400.2 kB / 0.7905 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.7881, allocations: 24.89 kB / 0.7905 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.7882, allocations: 29.92 kB / 0.7905 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.7889, allocations: 309.1 kB / 0.7908 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.7889, allocations: 4.75 kB / 0.7908 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.7889, allocations: 9.75 kB / 0.7908 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.789, allocations: 8.188 kB / 0.7908 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.7895, allocations: 196.3 kB / 0.791 GB, free: 7.918 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.7917, allocations: 1.414 MB / 0.7924 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.7922, allocations: 149.7 kB / 0.7925 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.7924, allocations: 64.81 kB / 0.7926 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.7925, allocations: 10.8 kB / 0.7926 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.7928, allocations: 135.6 kB / 0.7927 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.7929, allocations: 0 / 0.7927 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007689/0.7936, allocations: 241.9 kB / 0.793 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.7937, allocations: 58.89 kB / 0.793 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.7941, allocations: 347.5 kB / 0.7934 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.7942, allocations: 33.09 kB / 0.7934 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.7944, allocations: 216.7 kB / 0.7936 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.7944, allocations: 59.47 kB / 0.7936 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.7945, allocations: 53.11 kB / 0.7937 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.7948, allocations: 344.4 kB / 0.794 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.795, allocations: 71.23 kB / 0.7941 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.7953, allocations: 153.4 kB / 0.7942 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.7958, allocations: 239.5 kB / 0.7945 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.7958, allocations: 4 kB / 0.7945 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006745/0.7965, allocations: 319.4 kB / 0.7948 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.7965, allocations: 36.89 kB / 0.7948 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7965, allocations: 0.9688 kB / 0.7948 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.7966, allocations: 6.594 kB / 0.7948 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.7968, allocations: 56.98 kB / 0.7949 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.7968, allocations: 8.75 kB / 0.7949 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.7971, allocations: 32.91 kB / 0.7949 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.7971, allocations: 8.141 kB / 0.7949 GB, free: 5.113 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.7974, allocations: 164.8 kB / 0.7951 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.7974, allocations: 40.39 kB / 0.7951 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.798, allocations: 199.1 kB / 0.7953 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.798, allocations: 1.188 kB / 0.7953 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7981, allocations: 1.062 kB / 0.7953 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006063/0.7987, allocations: 490.1 kB / 0.7958 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.7992, allocations: 325.9 kB / 0.7961 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7992, allocations: 0 / 0.7961 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.7994, allocations: 28.88 kB / 0.7961 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.7994, allocations: 5.25 kB / 0.7961 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.7994, allocations: 7.203 kB / 0.7961 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7994, allocations: 0.7969 kB / 0.7961 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7994, allocations: 9 kB / 0.7961 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.8002, allocations: 278.6 kB / 0.7964 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.8003, allocations: 47.8 kB / 0.7964 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.8004, allocations: 10.38 kB / 0.7965 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.8006, allocations: 21.88 kB / 0.7965 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.8007, allocations: 12.88 kB / 0.7965 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.8008, allocations: 12.5 kB / 0.7965 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004151/0.8012, allocations: 246.4 kB / 0.7967 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.8012, allocations: 0 / 0.7967 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006642/0.8018, allocations: 129.3 kB / 0.7969 GB, free: 3.789 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005869/0.8024, allocations: 197 kB / 0.797 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000754/0.8032, allocations: 222.8 kB / 0.7973 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8032, allocations: 0.5938 kB / 0.7973 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.8034, allocations: 68.81 kB / 0.7973 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.8047, allocations: 214.5 kB / 0.7975 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.8068, allocations: 0.7368 MB / 0.7982 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.8073, allocations: 0.7909 MB / 0.799 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000359/0.8077, allocations: 68.28 kB / 0.7991 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.8078, allocations: 33.06 kB / 0.7991 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of SimCode: time 1.573e-06/0.8078, allocations: 0 / 0.7991 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of Templates: time 0.02069/0.8285, allocations: 7.34 MB / 0.8063 GB, free: 96 kB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.370543738827109] Failed to read output from testmodel.py, exit status != 0: 0.8392490977421403 0.856749309 0.066722381 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f47c57797b0>