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.001694/0.001694, allocations: 108 kB / 15.6 MB, free: 132 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.001394/0.001394, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.456/1.456, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.72/1.72, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001495/0.001496, allocations: 73.12 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2738, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01742/0.2912, allocations: 14.43 MB / 0.7974 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006331/0.2976, allocations: 3.627 MB / 0.801 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008282/0.2985, allocations: 19.88 kB / 0.801 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.2993, allocations: 198.7 kB / 0.8012 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.3011, allocations: 0.5869 MB / 0.8018 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.3023, allocations: 377.6 kB / 0.8021 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3037, allocations: 1.071 MB / 0.8032 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005213/0.3043, allocations: 312.1 kB / 0.8035 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009608/0.3052, allocations: 385.2 kB / 0.8038 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.3056, allocations: 314.6 kB / 0.8041 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.3057, allocations: 36 kB / 0.8042 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.3064, allocations: 255.5 kB / 0.8044 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3066, allocations: 95.72 kB / 0.8045 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.3068, allocations: 215 kB / 0.8047 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000816/0.3076, allocations: 0.5764 MB / 0.8053 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3076, allocations: 0 / 0.8053 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.737e-06/0.3076, allocations: 0 / 0.8053 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3077, allocations: 3.938 kB / 0.8053 GB, free: 6.953 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.001277/0.3089, allocations: 0.7419 MB / 0.806 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.309, allocations: 8.031 kB / 0.806 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.3092, allocations: 52.45 kB / 0.8061 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007986/0.31, allocations: 439 kB / 0.8065 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.3101, allocations: 20.94 kB / 0.8065 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.3101, allocations: 27.94 kB / 0.8065 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.3108, allocations: 314.2 kB / 0.8068 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3108, allocations: 0 / 0.8068 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.3109, allocations: 12 kB / 0.8068 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.3109, allocations: 8 kB / 0.8068 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.3114, allocations: 194.1 kB / 0.807 GB, free: 5.047 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.002267/0.3137, allocations: 1.493 MB / 0.8085 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.3143, allocations: 158.6 kB / 0.8086 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3145, allocations: 68.75 kB / 0.8087 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.3147, allocations: 85.11 kB / 0.8088 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.3151, allocations: 135.2 kB / 0.8089 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.3151, allocations: 0 / 0.8089 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007681/0.3159, allocations: 229.1 kB / 0.8091 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.316, allocations: 63.33 kB / 0.8092 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.3164, allocations: 341.6 kB / 0.8095 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3164, allocations: 33.7 kB / 0.8096 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3166, allocations: 211.8 kB / 0.8098 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.3167, allocations: 55.2 kB / 0.8098 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.3168, allocations: 49.7 kB / 0.8099 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3169, allocations: 346.8 kB / 0.8102 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.3171, allocations: 71.95 kB / 0.8103 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.3174, allocations: 149.3 kB / 0.8104 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.3178, allocations: 241.7 kB / 0.8106 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3178, allocations: 8 kB / 0.8106 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006272/0.3185, allocations: 310.5 kB / 0.8109 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.3185, allocations: 33.7 kB / 0.811 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3186, allocations: 0 / 0.811 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.3186, allocations: 8.297 kB / 0.811 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3188, allocations: 67.84 kB / 0.811 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.3189, allocations: 4 kB / 0.811 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.3191, allocations: 27.83 kB / 0.8111 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.3192, allocations: 8 kB / 0.8111 GB, free: 0.5898 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.0001942/0.3194, allocations: 161.7 kB / 0.8112 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.3194, allocations: 31.62 kB / 0.8113 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.3199, allocations: 203.5 kB / 0.8115 GB, free: 188 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3199, allocations: 3.938 kB / 0.8115 GB, free: 184 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.32, allocations: 4 kB / 0.8115 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000659/0.3206, allocations: 487.7 kB / 0.8119 GB, free: 15.61 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.3212, allocations: 349.3 kB / 0.8123 GB, free: 15.22 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3212, allocations: 3.984 kB / 0.8123 GB, free: 15.22 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.3214, allocations: 31.98 kB / 0.8123 GB, free: 15.19 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/0.3214, allocations: 8 kB / 0.8123 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.3215, allocations: 3.938 kB / 0.8123 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.3215, allocations: 3.938 kB / 0.8123 GB, free: 15.17 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3215, allocations: 7.938 kB / 0.8123 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.3222, allocations: 280.5 kB / 0.8126 GB, free: 14.87 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.3224, allocations: 128.8 kB / 0.8127 GB, free: 14.73 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.3225, allocations: 4 kB / 0.8127 GB, free: 14.72 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.3227, allocations: 19.91 kB / 0.8127 GB, free: 14.7 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3228, allocations: 15.98 kB / 0.8127 GB, free: 14.69 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.3229, allocations: 7.984 kB / 0.8128 GB, free: 14.68 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0002652/0.3231, allocations: 243.2 kB / 0.813 GB, free: 14.44 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3231, allocations: 4 kB / 0.813 GB, free: 14.44 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0005039/0.3236, allocations: 124 kB / 0.8131 GB, free: 14.32 MB / 0.6388 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.0004518/0.3241, allocations: 203 kB / 0.8133 GB, free: 14.11 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.3247, allocations: 231.2 kB / 0.8135 GB, free: 13.87 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3247, allocations: 0 / 0.8135 GB, free: 13.87 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.3249, allocations: 75.12 kB / 0.8136 GB, free: 13.8 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.3259, allocations: 211.8 kB / 0.8138 GB, free: 13.61 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3274, allocations: 0.7447 MB / 0.8145 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.3278, allocations: 0.784 MB / 0.8153 GB, free: 12.04 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.3281, allocations: 59.25 kB / 0.8153 GB, free: 11.97 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.3282, allocations: 39.44 kB / 0.8154 GB, free: 11.93 MB / 0.6388 GB Notification: Performance of SimCode: time 2.445e-06/0.3282, allocations: 0 / 0.8154 GB, free: 11.93 MB / 0.6388 GB Notification: Performance of Templates: time 0.01361/0.3418, allocations: 7.126 MB / 0.8223 GB, free: 4.918 MB / 0.6388 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)