Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 210.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7437/0.7437, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 64.22 kB / 0.4904 GB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2122, allocations: 77.93 MB / 0.5665 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01656/0.2288, allocations: 14.38 MB / 0.5805 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3464/0.5752, allocations: 3.655 MB / 0.5841 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007777/0.5761, allocations: 18.66 kB / 0.5841 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.5768, allocations: 172.8 kB / 0.5843 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.5784, allocations: 0.5444 MB / 0.5848 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.5796, allocations: 360.6 kB / 0.5852 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.5818, allocations: 1.456 MB / 0.5866 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.5823, allocations: 272.6 kB / 0.5868 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.5829, allocations: 319.2 kB / 0.5872 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004777/0.5834, allocations: 308.3 kB / 0.5874 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.5835, allocations: 22.12 kB / 0.5875 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007063/0.5842, allocations: 245.7 kB / 0.5877 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.5843, allocations: 84 kB / 0.5878 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.5845, allocations: 194.8 kB / 0.588 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008448/0.5854, allocations: 0.5749 MB / 0.5885 GB, free: 10.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5854, allocations: 0 / 0.5885 GB, free: 10.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.5854, allocations: 0 / 0.5885 GB, free: 10.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.5854, allocations: 1.062 kB / 0.5885 GB, free: 10.15 MB / 446.1 MB 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.001224/0.5866, allocations: 0.7488 MB / 0.5893 GB, free: 9.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5867, allocations: 9.625 kB / 0.5893 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.5869, allocations: 45.89 kB / 0.5893 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/0.5876, allocations: 484.9 kB / 0.5898 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.5877, allocations: 22.02 kB / 0.5898 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.5877, allocations: 32.91 kB / 0.5898 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/0.5884, allocations: 305.9 kB / 0.5901 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5884, allocations: 4.312 kB / 0.5901 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.5885, allocations: 13.52 kB / 0.5901 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.5885, allocations: 5.969 kB / 0.5901 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.589, allocations: 195.3 kB / 0.5903 GB, free: 9.258 MB / 446.1 MB 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.001824/0.5908, allocations: 1.476 MB / 0.5918 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.5913, allocations: 163.1 kB / 0.5919 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.5915, allocations: 63.14 kB / 0.592 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.5917, allocations: 90.69 kB / 0.5921 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.592, allocations: 133.5 kB / 0.5922 GB, free: 8.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.5921, allocations: 0 / 0.5922 GB, free: 8.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007045/0.5928, allocations: 228.9 kB / 0.5924 GB, free: 8.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.5928, allocations: 60.48 kB / 0.5925 GB, free: 7.992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.5932, allocations: 334.8 kB / 0.5928 GB, free: 7.887 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.5932, allocations: 35.52 kB / 0.5928 GB, free: 7.852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.5934, allocations: 216.8 kB / 0.593 GB, free: 7.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.5934, allocations: 51.33 kB / 0.5931 GB, free: 7.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.5935, allocations: 55.84 kB / 0.5931 GB, free: 7.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.5936, allocations: 347.1 kB / 0.5935 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.5938, allocations: 72.38 kB / 0.5935 GB, free: 7.352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.5941, allocations: 149.4 kB / 0.5937 GB, free: 7.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.5946, allocations: 246.8 kB / 0.5939 GB, free: 7.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5946, allocations: 0 / 0.5939 GB, free: 7.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006504/0.5952, allocations: 309.8 kB / 0.5942 GB, free: 7.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.5953, allocations: 33.72 kB / 0.5942 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5953, allocations: 4.188 kB / 0.5942 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.5953, allocations: 7.188 kB / 0.5943 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.5956, allocations: 59.88 kB / 0.5943 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5956, allocations: 8.812 kB / 0.5943 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.596, allocations: 35.14 kB / 0.5944 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.5961, allocations: 9.266 kB / 0.5944 GB, free: 6.977 MB / 446.1 MB 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.0002115/0.5963, allocations: 162.7 kB / 0.5945 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.5964, allocations: 36.67 kB / 0.5946 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/0.5972, allocations: 194.2 kB / 0.5947 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5972, allocations: 5.688 kB / 0.5947 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5972, allocations: 5.5 kB / 0.5947 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006051/0.5978, allocations: 485.4 kB / 0.5952 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.5984, allocations: 347.7 kB / 0.5955 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5984, allocations: 5.547 kB / 0.5955 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.5986, allocations: 36.45 kB / 0.5956 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5986, allocations: 1.812 kB / 0.5956 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.5986, allocations: 6.828 kB / 0.5956 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5987, allocations: 0 / 0.5956 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5987, allocations: 3.938 kB / 0.5956 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.5993, allocations: 286.5 kB / 0.5959 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.5995, allocations: 122.4 kB / 0.596 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.5996, allocations: 4.953 kB / 0.596 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.5998, allocations: 19.61 kB / 0.596 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.5999, allocations: 23.69 kB / 0.596 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.5999, allocations: 9.375 kB / 0.596 GB, free: 5.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.6002, allocations: 240 kB / 0.5963 GB, free: 5.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6002, allocations: 5.062 kB / 0.5963 GB, free: 5.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005786/0.6008, allocations: 114.9 kB / 0.5964 GB, free: 5.836 MB / 446.1 MB 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.0003643/0.6012, allocations: 183.8 kB / 0.5966 GB, free: 5.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.6018, allocations: 226.7 kB / 0.5968 GB, free: 5.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6018, allocations: 0 / 0.5968 GB, free: 5.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.602, allocations: 68.67 kB / 0.5968 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.6031, allocations: 197.2 kB / 0.597 GB, free: 5.633 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.6047, allocations: 0.8669 MB / 0.5979 GB, free: 5.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.605, allocations: 0.7948 MB / 0.5987 GB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003667/0.6054, allocations: 64.31 kB / 0.5987 GB, free: 4.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.481e-05/0.6055, allocations: 31.34 kB / 0.5987 GB, free: 4.359 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6055, allocations: 5.312 kB / 0.5987 GB, free: 4.355 MB / 446.1 MB Notification: Performance of Templates: time 0.01654/0.622, allocations: 6.564 MB / 0.6052 GB, free: 3.633 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)