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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001294, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001716/0.001716, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.785/1.785, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005477/0.0005477, allocations: 18.44 kB / 0.6738 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3039, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01386/0.3178, allocations: 13.19 MB / 0.8003 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005492/0.3233, allocations: 3.377 MB / 0.8036 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00067/0.3241, allocations: 11.94 kB / 0.8036 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.3247, allocations: 151.1 kB / 0.8037 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.3262, allocations: 481.5 kB / 0.8042 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009762/0.3272, allocations: 294.3 kB / 0.8045 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.3289, allocations: 1.231 MB / 0.8057 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.3293, allocations: 242 kB / 0.8059 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.3298, allocations: 310.7 kB / 0.8062 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.3302, allocations: 278.8 kB / 0.8065 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.3302, allocations: 19.94 kB / 0.8065 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.3308, allocations: 147.6 kB / 0.8066 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3309, allocations: 67.73 kB / 0.8067 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.331, allocations: 97.52 kB / 0.8068 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.3315, allocations: 430.9 kB / 0.8072 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3316, allocations: 8 kB / 0.8072 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3316, allocations: 0 / 0.8072 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3316, allocations: 0 / 0.8072 GB, free: 7.492 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.001144/0.3327, allocations: 0.6678 MB / 0.8079 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.3328, allocations: 8.031 kB / 0.8079 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.624e-05/0.3329, allocations: 66.53 kB / 0.8079 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.3331, allocations: 47.53 kB / 0.808 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.3339, allocations: 457.8 kB / 0.8084 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.3339, allocations: 16.56 kB / 0.8084 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.334, allocations: 31.98 kB / 0.8085 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.3346, allocations: 318.2 kB / 0.8088 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3346, allocations: 0 / 0.8088 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.3346, allocations: 12 kB / 0.8088 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.3347, allocations: 8 kB / 0.8088 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.3351, allocations: 206.1 kB / 0.809 GB, free: 5.551 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.00191/0.3371, allocations: 1.489 MB / 0.8104 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.3375, allocations: 166.6 kB / 0.8106 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3377, allocations: 64.83 kB / 0.8107 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.3379, allocations: 89.09 kB / 0.8107 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.3383, allocations: 139.2 kB / 0.8109 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.3383, allocations: 0 / 0.8109 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000631/0.3389, allocations: 248.3 kB / 0.8111 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.339, allocations: 55.41 kB / 0.8112 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.3393, allocations: 329.6 kB / 0.8115 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3394, allocations: 29.7 kB / 0.8115 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3396, allocations: 219.7 kB / 0.8117 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.3396, allocations: 55.2 kB / 0.8118 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.3397, allocations: 3.938 kB / 0.8118 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.3399, allocations: 354.8 kB / 0.8121 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.3401, allocations: 75.95 kB / 0.8122 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.3403, allocations: 153.3 kB / 0.8123 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.3406, allocations: 120.6 kB / 0.8124 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3406, allocations: 4 kB / 0.8124 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005698/0.3412, allocations: 322.7 kB / 0.8128 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.3412, allocations: 33.7 kB / 0.8128 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3412, allocations: 3.984 kB / 0.8128 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3413, allocations: 4 kB / 0.8128 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.3415, allocations: 63.91 kB / 0.8129 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3415, allocations: 4.188 kB / 0.8129 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.3418, allocations: 39.72 kB / 0.8129 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.3418, allocations: 12 kB / 0.8129 GB, free: 1.258 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.342, allocations: 161.7 kB / 0.8131 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.342, allocations: 31.62 kB / 0.8131 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.3425, allocations: 208.4 kB / 0.8133 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3425, allocations: 4 kB / 0.8133 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3425, allocations: 4 kB / 0.8133 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004805/0.343, allocations: 491.8 kB / 0.8138 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.3434, allocations: 357.3 kB / 0.8141 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3435, allocations: 0 / 0.8141 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3436, allocations: 35.92 kB / 0.8141 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3436, allocations: 0 / 0.8141 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.3437, allocations: 4 kB / 0.8141 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3437, allocations: 7.984 kB / 0.8142 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3437, allocations: 4 kB / 0.8142 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.3443, allocations: 299.4 kB / 0.8144 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3444, allocations: 128.7 kB / 0.8146 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.3445, allocations: 8 kB / 0.8146 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.3447, allocations: 15.98 kB / 0.8146 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.3448, allocations: 23.91 kB / 0.8146 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.3448, allocations: 11.92 kB / 0.8146 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002404/0.3451, allocations: 231.1 kB / 0.8148 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3451, allocations: 8 kB / 0.8148 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004567/0.3455, allocations: 120 kB / 0.815 GB, free: 14.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.3467, allocations: 0.8997 MB / 0.8158 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005371/0.3473, allocations: 239.1 kB / 0.8161 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3473, allocations: 0.625 kB / 0.8161 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.3475, allocations: 75.95 kB / 0.8161 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3485, allocations: 201 kB / 0.8163 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.3522, allocations: 2.102 MB / 0.8184 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.3526, allocations: 0.7997 MB / 0.8192 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.353, allocations: 71.19 kB / 0.8192 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3532, allocations: 115.3 kB / 0.8193 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of SimCode: time 1.312e-06/0.3532, allocations: 0 / 0.8193 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.377, allocations: 9.571 MB / 0.8287 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.3773, allocations: 181 kB / 0.8289 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.451, allocations: 0 / 0.8289 GB, free: 0.7617 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: