Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001263/0.001263, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001418/0.001418, allocations: 191.6 kB / 16.14 MB, free: 6.688 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 61.92 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3728, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01697/0.3898, allocations: 14.41 MB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006377/0.3963, allocations: 3.677 MB / 1.085 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.3969, allocations: 15.88 kB / 1.085 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.3976, allocations: 171.1 kB / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.3992, allocations: 0.5444 MB / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.4002, allocations: 354 kB / 1.086 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.4018, allocations: 1.457 MB / 1.088 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.4022, allocations: 284.3 kB / 1.088 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.4027, allocations: 318.6 kB / 1.088 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.4031, allocations: 318.5 kB / 1.089 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.4031, allocations: 16 kB / 1.089 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.4037, allocations: 243.4 kB / 1.089 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.4038, allocations: 75.67 kB / 1.089 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.4041, allocations: 202.9 kB / 1.089 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.4048, allocations: 0.5727 MB / 1.09 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4048, allocations: 4 kB / 1.09 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4048, allocations: 0 / 1.09 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.4048, allocations: 4 kB / 1.09 GB, free: 4.246 MB / 0.8419 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.001262/0.4061, allocations: 0.7391 MB / 1.09 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4061, allocations: 8.031 kB / 1.09 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.4064, allocations: 48.45 kB / 1.09 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.4072, allocations: 487.7 kB / 1.091 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.4072, allocations: 28.69 kB / 1.091 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.4073, allocations: 27.98 kB / 1.091 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.4079, allocations: 310.2 kB / 1.091 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4079, allocations: 0 / 1.091 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.408, allocations: 12 kB / 1.091 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.408, allocations: 11.98 kB / 1.091 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.4085, allocations: 194.1 kB / 1.091 GB, free: 2.289 MB / 0.8419 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.001877/0.4104, allocations: 1.473 MB / 1.093 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.4109, allocations: 154.6 kB / 1.093 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.4111, allocations: 72.81 kB / 1.093 GB, free: 464 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.4114, allocations: 85.11 kB / 1.093 GB, free: 360 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.4117, allocations: 139.2 kB / 1.093 GB, free: 208 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.4117, allocations: 0 / 1.093 GB, free: 208 kB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0006928/0.4124, allocations: 229.1 kB / 1.093 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4125, allocations: 59.39 kB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.4128, allocations: 337.7 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4129, allocations: 25.7 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.413, allocations: 223.7 kB / 1.094 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.4131, allocations: 51.27 kB / 1.094 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.4132, allocations: 49.7 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4133, allocations: 346.8 kB / 1.095 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.4136, allocations: 67.95 kB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.4138, allocations: 149.8 kB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.4143, allocations: 244.8 kB / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4143, allocations: 0 / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006369/0.4149, allocations: 310.9 kB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.415, allocations: 34.95 kB / 1.095 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.415, allocations: 4 kB / 1.095 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.415, allocations: 7.938 kB / 1.095 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4153, allocations: 59.89 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.4153, allocations: 4 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.4156, allocations: 39.67 kB / 1.095 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.4156, allocations: 12.03 kB / 1.095 GB, free: 13.86 MB / 0.8575 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.0001875/0.4158, allocations: 158.4 kB / 1.096 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.4158, allocations: 31.62 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.4163, allocations: 202.8 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4164, allocations: 3.938 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4164, allocations: 4 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004929/0.4169, allocations: 487.7 kB / 1.096 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.4173, allocations: 349.3 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4174, allocations: 4 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.4175, allocations: 39.84 kB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4175, allocations: 0 / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.4176, allocations: 4 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.4176, allocations: 7.938 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4176, allocations: 0 / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.4183, allocations: 286.7 kB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.4184, allocations: 124.7 kB / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.4185, allocations: 0 / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.4187, allocations: 27.83 kB / 1.097 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.4188, allocations: 11.97 kB / 1.097 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.4188, allocations: 16 kB / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002618/0.4191, allocations: 235.2 kB / 1.097 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4191, allocations: 0 / 1.097 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004712/0.4196, allocations: 124 kB / 1.097 GB, free: 11.6 MB / 0.8575 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.0003631/0.42, allocations: 179.2 kB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.4205, allocations: 228.3 kB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4205, allocations: 4.625 kB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.4207, allocations: 71.89 kB / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/0.4217, allocations: 192.3 kB / 1.098 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4233, allocations: 0.8654 MB / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.4237, allocations: 0.7921 MB / 1.1 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002828/0.424, allocations: 55.27 kB / 1.1 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4241, allocations: 35.42 kB / 1.1 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of SimCode: time 3.7e-07/0.4241, allocations: 0 / 1.1 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of Templates: time 0.0126/0.4367, allocations: 6.571 MB / 1.106 GB, free: 2.637 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)