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.001188/0.001188, allocations: 109.4 kB / 15.69 MB, free: 128 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.001319/0.001319, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.725/1.725, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001436/0.001436, allocations: 75.06 kB / 0.6722 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2801, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01639/0.2965, allocations: 14.45 MB / 0.7982 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005348/0.3019, allocations: 3.613 MB / 0.8017 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005896/0.3026, allocations: 15.88 kB / 0.8018 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.3034, allocations: 202.7 kB / 0.802 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.3049, allocations: 0.5791 MB / 0.8025 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3059, allocations: 394.4 kB / 0.8029 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.3075, allocations: 1.064 MB / 0.8039 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.3079, allocations: 319.8 kB / 0.8042 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009514/0.3089, allocations: 382.5 kB / 0.8046 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.3093, allocations: 306.6 kB / 0.8049 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.3094, allocations: 32 kB / 0.8049 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.3101, allocations: 263.5 kB / 0.8052 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.3102, allocations: 95.67 kB / 0.8053 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.3104, allocations: 211 kB / 0.8055 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007114/0.3111, allocations: 0.5881 MB / 0.806 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3111, allocations: 0 / 0.806 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3111, allocations: 0 / 0.806 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.3112, allocations: 0 / 0.806 GB, free: 6.215 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.001115/0.3123, allocations: 0.7418 MB / 0.8068 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3123, allocations: 12.03 kB / 0.8068 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.3125, allocations: 52.41 kB / 0.8068 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.3133, allocations: 455 kB / 0.8073 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.3133, allocations: 20.94 kB / 0.8073 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.3134, allocations: 27.94 kB / 0.8073 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.314, allocations: 314.2 kB / 0.8076 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.314, allocations: 4 kB / 0.8076 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.3141, allocations: 16 kB / 0.8076 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.3141, allocations: 8 kB / 0.8076 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.3146, allocations: 190.1 kB / 0.8078 GB, free: 4.285 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.001802/0.3164, allocations: 1.473 MB / 0.8093 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.3168, allocations: 162.6 kB / 0.8094 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.317, allocations: 64.83 kB / 0.8095 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.3172, allocations: 89.09 kB / 0.8096 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.3175, allocations: 130.2 kB / 0.8097 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.3175, allocations: 4 kB / 0.8097 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0006858/0.3182, allocations: 233.1 kB / 0.8099 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.3183, allocations: 55.34 kB / 0.81 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.3187, allocations: 345.6 kB / 0.8103 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.3187, allocations: 33.7 kB / 0.8103 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3189, allocations: 211.8 kB / 0.8105 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.319, allocations: 59.2 kB / 0.8106 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.3191, allocations: 53.7 kB / 0.8106 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.3194, allocations: 338.8 kB / 0.811 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.3196, allocations: 75.94 kB / 0.811 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.3198, allocations: 145.4 kB / 0.8112 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.3203, allocations: 246.8 kB / 0.8114 GB, free: 324 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3203, allocations: 4 kB / 0.8114 GB, free: 320 kB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006749/0.321, allocations: 317.3 kB / 0.8117 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.3211, allocations: 36.36 kB / 0.8117 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3211, allocations: 4 kB / 0.8117 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3211, allocations: 0 / 0.8117 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.3213, allocations: 60.16 kB / 0.8118 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.3214, allocations: 15.92 kB / 0.8118 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3216, allocations: 27.83 kB / 0.8118 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3217, allocations: 12 kB / 0.8119 GB, free: 15.84 MB / 0.6387 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.0001821/0.3218, allocations: 161.7 kB / 0.812 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.3219, allocations: 35.61 kB / 0.812 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.3224, allocations: 196.5 kB / 0.8122 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.3224, allocations: 7.938 kB / 0.8122 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3224, allocations: 0 / 0.8122 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004905/0.3229, allocations: 486.6 kB / 0.8127 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.3234, allocations: 357.3 kB / 0.813 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3234, allocations: 0 / 0.813 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.3235, allocations: 27.98 kB / 0.8131 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3235, allocations: 3.984 kB / 0.8131 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.3236, allocations: 4 kB / 0.8131 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.3236, allocations: 15.94 kB / 0.8131 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3236, allocations: 0 / 0.8131 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.3242, allocations: 276.5 kB / 0.8134 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3243, allocations: 124.7 kB / 0.8135 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.3244, allocations: 7.938 kB / 0.8135 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.3246, allocations: 23.92 kB / 0.8135 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.3247, allocations: 11.98 kB / 0.8135 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3247, allocations: 11.98 kB / 0.8135 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000267/0.325, allocations: 247.2 kB / 0.8138 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.325, allocations: 0 / 0.8138 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004644/0.3255, allocations: 124 kB / 0.8139 GB, free: 13.57 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.0003617/0.3259, allocations: 187.1 kB / 0.8141 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.3264, allocations: 227.2 kB / 0.8143 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3264, allocations: 0 / 0.8143 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3266, allocations: 79.88 kB / 0.8144 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008972/0.3275, allocations: 220.2 kB / 0.8146 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3289, allocations: 0.7271 MB / 0.8153 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3293, allocations: 0.7879 MB / 0.816 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.3295, allocations: 63.19 kB / 0.8161 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.3296, allocations: 35.42 kB / 0.8161 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.3296, allocations: 4 kB / 0.8161 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.01256/0.3422, allocations: 7.115 MB / 0.8231 GB, free: 4.191 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)