Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001118, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.461/0.461, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 107.3 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 71.83 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.307, allocations: 70.05 MB / 0.5575 GB, free: 44.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01058/0.3177, allocations: 14.38 MB / 0.5715 GB, free: 30.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.3212, allocations: 3.663 MB / 0.5751 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.3215, allocations: 15.94 kB / 0.5751 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.322, allocations: 171.1 kB / 0.5753 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008822/0.3229, allocations: 0.5429 MB / 0.5758 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.3236, allocations: 354.2 kB / 0.5762 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009256/0.3245, allocations: 1.465 MB / 0.5776 GB, free: 24.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3248, allocations: 272.3 kB / 0.5778 GB, free: 24.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.3251, allocations: 326.5 kB / 0.5782 GB, free: 23.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.3254, allocations: 314.6 kB / 0.5785 GB, free: 23.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.3254, allocations: 16 kB / 0.5785 GB, free: 23.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.3258, allocations: 251.4 kB / 0.5787 GB, free: 23.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.3259, allocations: 75.69 kB / 0.5788 GB, free: 23.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.3261, allocations: 195 kB / 0.579 GB, free: 23.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.3265, allocations: 0.5823 MB / 0.5795 GB, free: 22.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3266, allocations: 0 / 0.5795 GB, free: 22.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3266, allocations: 3.938 kB / 0.5795 GB, free: 22.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3266, allocations: 0 / 0.5795 GB, free: 22.54 MB / 410.7 MB 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.0008786/0.3275, allocations: 0.7419 MB / 0.5803 GB, free: 21.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.3275, allocations: 12.03 kB / 0.5803 GB, free: 21.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.3276, allocations: 48.38 kB / 0.5803 GB, free: 21.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.3282, allocations: 479.7 kB / 0.5808 GB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3282, allocations: 24.69 kB / 0.5808 GB, free: 21.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.3283, allocations: 24 kB / 0.5808 GB, free: 21.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.3287, allocations: 314.2 kB / 0.5811 GB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3288, allocations: 3.938 kB / 0.5811 GB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.3288, allocations: 12 kB / 0.5811 GB, free: 20.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3288, allocations: 8 kB / 0.5812 GB, free: 20.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.3292, allocations: 194.1 kB / 0.5813 GB, free: 20.59 MB / 410.7 MB 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.00126/0.3305, allocations: 1.485 MB / 0.5828 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.3308, allocations: 166.6 kB / 0.5829 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.331, allocations: 64.81 kB / 0.583 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.3311, allocations: 85.11 kB / 0.5831 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.3314, allocations: 123.3 kB / 0.5832 GB, free: 18.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.3314, allocations: 0 / 0.5832 GB, free: 18.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.000523/0.3319, allocations: 242 kB / 0.5834 GB, free: 18.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.332, allocations: 55.41 kB / 0.5835 GB, free: 18.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3322, allocations: 333.7 kB / 0.5838 GB, free: 17.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3322, allocations: 33.7 kB / 0.5838 GB, free: 17.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.3323, allocations: 227.6 kB / 0.5841 GB, free: 17.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.3324, allocations: 47.36 kB / 0.5841 GB, free: 17.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.3325, allocations: 53.61 kB / 0.5842 GB, free: 17.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.3325, allocations: 342.8 kB / 0.5845 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3327, allocations: 67.95 kB / 0.5845 GB, free: 17.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.3329, allocations: 153.9 kB / 0.5847 GB, free: 16.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.3332, allocations: 242.9 kB / 0.5849 GB, free: 16.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3332, allocations: 0 / 0.5849 GB, free: 16.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004727/0.3337, allocations: 313.2 kB / 0.5852 GB, free: 16.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3337, allocations: 33.7 kB / 0.5853 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3337, allocations: 4 kB / 0.5853 GB, free: 16.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3337, allocations: 12.19 kB / 0.5853 GB, free: 16.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.3339, allocations: 59.91 kB / 0.5853 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.334, allocations: 11.92 kB / 0.5853 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.3342, allocations: 35.67 kB / 0.5854 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3342, allocations: 8 kB / 0.5854 GB, free: 16.14 MB / 410.7 MB 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.0001096/0.3344, allocations: 165.7 kB / 0.5855 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.3344, allocations: 31.62 kB / 0.5856 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.3348, allocations: 199.3 kB / 0.5858 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3348, allocations: 7.938 kB / 0.5858 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3348, allocations: 0 / 0.5858 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003391/0.3351, allocations: 483.6 kB / 0.5862 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.3355, allocations: 349.4 kB / 0.5866 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3355, allocations: 0 / 0.5866 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3356, allocations: 35.97 kB / 0.5866 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3356, allocations: 0 / 0.5866 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3357, allocations: 4 kB / 0.5866 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3357, allocations: 3.938 kB / 0.5866 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3357, allocations: 0 / 0.5866 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.3379, allocations: 1.884 MB / 0.5884 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.338, allocations: 120.8 kB / 0.5886 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.338, allocations: 4 kB / 0.5886 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3382, allocations: 15.98 kB / 0.5886 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.3383, allocations: 15.97 kB / 0.5886 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3383, allocations: 8 kB / 0.5886 GB, free: 12.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3385, allocations: 243.2 kB / 0.5888 GB, free: 12.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3385, allocations: 0 / 0.5888 GB, free: 12.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.339, allocations: 159.9 kB / 0.589 GB, free: 12.14 MB / 410.7 MB 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.0002352/0.3392, allocations: 183.1 kB / 0.5892 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.3396, allocations: 223.2 kB / 0.5894 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3396, allocations: 7.875 kB / 0.5894 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3398, allocations: 68.58 kB / 0.5894 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.3407, allocations: 207.8 kB / 0.5896 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3418, allocations: 1.016 MB / 0.5906 GB, free: 10.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.342, allocations: 0.7999 MB / 0.5914 GB, free: 9.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.3422, allocations: 59.25 kB / 0.5915 GB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.3423, allocations: 35.42 kB / 0.5915 GB, free: 9.477 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3423, allocations: 0 / 0.5915 GB, free: 9.477 MB / 410.7 MB Notification: Performance of Templates: time 0.009021/0.3513, allocations: 6.896 MB / 0.5982 GB, free: 2.668 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)