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.0009524/0.0009523, allocations: 88.94 kB / 16.66 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008885/0.0008885, allocations: 181.9 kB / 17.57 MB, free: 5.477 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.346/1.346, allocations: 223.3 MB / 241.6 MB, free: 14.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7337/0.7337, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4547, allocations: 77.53 MB / 0.5606 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01415/0.4689, allocations: 13.86 MB / 0.5741 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.4747, allocations: 3.619 MB / 0.5776 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008255/0.4756, allocations: 17.78 kB / 0.5777 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.4763, allocations: 165.3 kB / 0.5778 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.4782, allocations: 0.5483 MB / 0.5784 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.4793, allocations: 351.3 kB / 0.5787 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.4817, allocations: 1.456 MB / 0.5801 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005265/0.4822, allocations: 268.8 kB / 0.5804 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006896/0.4829, allocations: 308.5 kB / 0.5807 GB, free: 21.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.4834, allocations: 304 kB / 0.581 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.4835, allocations: 14.03 kB / 0.581 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.4842, allocations: 238.1 kB / 0.5812 GB, free: 21.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.4844, allocations: 70.75 kB / 0.5813 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.4846, allocations: 220.8 kB / 0.5815 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006574/0.4853, allocations: 443.8 kB / 0.5819 GB, free: 21.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4853, allocations: 0 / 0.5819 GB, free: 21.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4853, allocations: 1.438 kB / 0.5819 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4853, allocations: 0 / 0.5819 GB, free: 21.09 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.001143/0.4864, allocations: 0.6735 MB / 0.5826 GB, free: 20.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4865, allocations: 14.62 kB / 0.5826 GB, free: 20.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.4867, allocations: 46.88 kB / 0.5826 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/0.4875, allocations: 490.8 kB / 0.5831 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.4875, allocations: 23.95 kB / 0.5831 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.4876, allocations: 26.22 kB / 0.5831 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.4883, allocations: 313.2 kB / 0.5834 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4883, allocations: 5.344 kB / 0.5834 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.4883, allocations: 10.78 kB / 0.5834 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.4884, allocations: 9.422 kB / 0.5835 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.4889, allocations: 207.5 kB / 0.5836 GB, free: 19.91 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.001803/0.4907, allocations: 1.483 MB / 0.5851 GB, free: 18.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.4912, allocations: 164.8 kB / 0.5853 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.4914, allocations: 75.61 kB / 0.5853 GB, free: 18.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.4916, allocations: 92.95 kB / 0.5854 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.4919, allocations: 132.1 kB / 0.5855 GB, free: 18.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 3.126e-06/0.4919, allocations: 0 / 0.5855 GB, free: 18.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006882/0.4926, allocations: 255.5 kB / 0.5858 GB, free: 18.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.4926, allocations: 59.62 kB / 0.5858 GB, free: 18.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.493, allocations: 330.7 kB / 0.5862 GB, free: 18.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.4931, allocations: 32.91 kB / 0.5862 GB, free: 18.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4932, allocations: 218.8 kB / 0.5864 GB, free: 17.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.4933, allocations: 55.7 kB / 0.5864 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.4933, allocations: 28.45 kB / 0.5865 GB, free: 17.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.4934, allocations: 344.3 kB / 0.5868 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.4937, allocations: 75.47 kB / 0.5869 GB, free: 17.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.4939, allocations: 158.6 kB / 0.587 GB, free: 17.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.4943, allocations: 252.9 kB / 0.5873 GB, free: 17.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4943, allocations: 5.375 kB / 0.5873 GB, free: 17.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006265/0.495, allocations: 319.6 kB / 0.5876 GB, free: 17.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.495, allocations: 34.81 kB / 0.5876 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.495, allocations: 5.469 kB / 0.5876 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4951, allocations: 8.469 kB / 0.5876 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.4953, allocations: 60.98 kB / 0.5877 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4953, allocations: 12.58 kB / 0.5877 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.4956, allocations: 45.61 kB / 0.5877 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.4956, allocations: 10.11 kB / 0.5877 GB, free: 16.97 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.0001514/0.4958, allocations: 156.5 kB / 0.5879 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.4959, allocations: 32.16 kB / 0.5879 GB, free: 16.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.4963, allocations: 212.2 kB / 0.5881 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4964, allocations: 5.719 kB / 0.5881 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4964, allocations: 0 / 0.5881 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004369/0.4968, allocations: 0.4907 MB / 0.5886 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.4973, allocations: 347.9 kB / 0.5889 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4973, allocations: 0 / 0.5889 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.4975, allocations: 36.05 kB / 0.589 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4975, allocations: 1.406 kB / 0.589 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.4975, allocations: 2.234 kB / 0.589 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4975, allocations: 4.734 kB / 0.589 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4976, allocations: 5.344 kB / 0.589 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.4982, allocations: 312.8 kB / 0.5893 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.4984, allocations: 131.6 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.4984, allocations: 1.828 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.4987, allocations: 29.47 kB / 0.5894 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.4988, allocations: 14.19 kB / 0.5895 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.4988, allocations: 11.17 kB / 0.5895 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.4991, allocations: 237.4 kB / 0.5897 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4991, allocations: 4 kB / 0.5897 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005492/0.4996, allocations: 113.7 kB / 0.5898 GB, free: 15.53 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.0003448/0.5, allocations: 189.1 kB / 0.59 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.5005, allocations: 232.5 kB / 0.5902 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5005, allocations: 0 / 0.5902 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.5007, allocations: 80.16 kB / 0.5903 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5018, allocations: 208.3 kB / 0.5905 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.5034, allocations: 0.9534 MB / 0.5914 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.5037, allocations: 0.7858 MB / 0.5922 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.5038, allocations: 36.94 kB / 0.5922 GB, free: 13.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5038, allocations: 4 kB / 0.5922 GB, free: 13.87 MB / 446.1 MB Notification: Performance of Templates: time 0.01117/0.515, allocations: 5.894 MB / 0.598 GB, free: 11.29 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)