Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001724/0.001724, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.5484 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 73.83 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2822, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01653/0.2988, allocations: 14.4 MB / 0.7967 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005511/0.3044, allocations: 3.644 MB / 0.8003 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006155/0.305, allocations: 19.88 kB / 0.8003 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.3058, allocations: 167.1 kB / 0.8005 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.3073, allocations: 0.5435 MB / 0.801 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009981/0.3083, allocations: 344.4 kB / 0.8013 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.31, allocations: 1.449 MB / 0.8027 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004534/0.3105, allocations: 267.9 kB / 0.803 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006273/0.3111, allocations: 330.5 kB / 0.8033 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.3115, allocations: 310.6 kB / 0.8036 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.3116, allocations: 16 kB / 0.8036 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.3122, allocations: 243.5 kB / 0.8038 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.3123, allocations: 75.67 kB / 0.8039 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3125, allocations: 199 kB / 0.8041 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006992/0.3132, allocations: 0.5725 MB / 0.8047 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3133, allocations: 0 / 0.8047 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3133, allocations: 0 / 0.8047 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3133, allocations: 0 / 0.8047 GB, free: 7.363 MB / 0.6231 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.001296/0.3146, allocations: 0.7457 MB / 0.8054 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3146, allocations: 8.031 kB / 0.8054 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.3148, allocations: 48.47 kB / 0.8055 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.3156, allocations: 471.1 kB / 0.8059 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3156, allocations: 24.69 kB / 0.8059 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.3157, allocations: 24 kB / 0.8059 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.3163, allocations: 314.2 kB / 0.8062 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3163, allocations: 0 / 0.8062 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.3164, allocations: 12 kB / 0.8063 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.3164, allocations: 8 kB / 0.8063 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.3168, allocations: 190.1 kB / 0.8064 GB, free: 5.43 MB / 0.6231 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.0019/0.3188, allocations: 1.481 MB / 0.8079 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.3192, allocations: 166.6 kB / 0.8081 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.3194, allocations: 64.83 kB / 0.8081 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.3197, allocations: 97.02 kB / 0.8082 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.32, allocations: 127.3 kB / 0.8083 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.3201, allocations: 4 kB / 0.8083 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0006664/0.3207, allocations: 240.4 kB / 0.8086 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3208, allocations: 51.41 kB / 0.8086 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.3212, allocations: 333.6 kB / 0.8089 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.3212, allocations: 33.7 kB / 0.809 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.3214, allocations: 215.7 kB / 0.8092 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.3215, allocations: 47.3 kB / 0.8092 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.874e-05/0.3216, allocations: 65.59 kB / 0.8093 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3217, allocations: 338.8 kB / 0.8096 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3219, allocations: 71.95 kB / 0.8097 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.3222, allocations: 145.4 kB / 0.8098 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.3226, allocations: 245.8 kB / 0.81 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3226, allocations: 0 / 0.81 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006107/0.3232, allocations: 310.6 kB / 0.8103 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.3233, allocations: 41.69 kB / 0.8104 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3233, allocations: 4 kB / 0.8104 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3233, allocations: 7.938 kB / 0.8104 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3236, allocations: 51.91 kB / 0.8104 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3236, allocations: 8.297 kB / 0.8104 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.3239, allocations: 35.83 kB / 0.8105 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.3239, allocations: 8 kB / 0.8105 GB, free: 0.9805 MB / 0.6231 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.0001955/0.3241, allocations: 161.7 kB / 0.8106 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.3242, allocations: 31.62 kB / 0.8107 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/0.3247, allocations: 200.4 kB / 0.8109 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3247, allocations: 3.938 kB / 0.8109 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3247, allocations: 4 kB / 0.8109 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005019/0.3252, allocations: 487.7 kB / 0.8113 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.3257, allocations: 345.4 kB / 0.8117 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3257, allocations: 0 / 0.8117 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.3259, allocations: 35.97 kB / 0.8117 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3259, allocations: 0 / 0.8117 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.326, allocations: 7.938 kB / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.326, allocations: 3.938 kB / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.326, allocations: 4 kB / 0.8117 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.3266, allocations: 280.5 kB / 0.812 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3267, allocations: 120.8 kB / 0.8121 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.3268, allocations: 11.94 kB / 0.8121 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3271, allocations: 27.91 kB / 0.8121 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.3272, allocations: 15.98 kB / 0.8121 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.3272, allocations: 7.984 kB / 0.8122 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002987/0.3275, allocations: 235.2 kB / 0.8124 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3275, allocations: 0 / 0.8124 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005242/0.3281, allocations: 119.9 kB / 0.8125 GB, free: 14.73 MB / 0.6387 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.0004322/0.3285, allocations: 195.1 kB / 0.8127 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005363/0.329, allocations: 230 kB / 0.8129 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3291, allocations: 0 / 0.8129 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3293, allocations: 67.89 kB / 0.813 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3303, allocations: 192.7 kB / 0.8131 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3318, allocations: 0.8576 MB / 0.814 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3321, allocations: 0.7921 MB / 0.8148 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.3324, allocations: 67.19 kB / 0.8148 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.3325, allocations: 27.44 kB / 0.8148 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.3325, allocations: 0 / 0.8148 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.01255/0.3451, allocations: 6.545 MB / 0.8212 GB, free: 5.812 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)