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/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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_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.0007787/0.0007787, allocations: 99.2 kB / 16.02 MB, free: 80 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.0009016/0.0009016, allocations: 182.6 kB / 16.92 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7103/0.7103, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 8 kB / 495.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 77.54 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01284/0.1381, allocations: 13.85 MB / 0.5736 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.1427, allocations: 3.625 MB / 0.5771 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.143, allocations: 19.88 kB / 0.5771 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.1434, allocations: 163.1 kB / 0.5773 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.1445, allocations: 0.5327 MB / 0.5778 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007255/0.1452, allocations: 357.8 kB / 0.5782 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.1466, allocations: 1.457 MB / 0.5796 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.147, allocations: 264.6 kB / 0.5798 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.1474, allocations: 310.6 kB / 0.5801 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.1478, allocations: 306.6 kB / 0.5804 GB, free: 4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1478, allocations: 16 kB / 0.5804 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.1482, allocations: 243.5 kB / 0.5807 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.1483, allocations: 71.62 kB / 0.5807 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.1486, allocations: 216.7 kB / 0.5809 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.1492, allocations: 0.5645 MB / 0.5815 GB, free: 2.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1492, allocations: 0 / 0.5815 GB, free: 2.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1492, allocations: 0 / 0.5815 GB, free: 2.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1492, allocations: 0 / 0.5815 GB, free: 2.891 MB / 446.1 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.0009703/0.1502, allocations: 0.6718 MB / 0.5821 GB, free: 2.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1502, allocations: 12.03 kB / 0.5822 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.339e-05/0.1503, allocations: 62.72 kB / 0.5822 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.1504, allocations: 48.38 kB / 0.5823 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/0.1511, allocations: 487.8 kB / 0.5827 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1511, allocations: 20.5 kB / 0.5827 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.1512, allocations: 28 kB / 0.5828 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.1518, allocations: 314.2 kB / 0.5831 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1518, allocations: 4 kB / 0.5831 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.1518, allocations: 12 kB / 0.5831 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.1518, allocations: 8 kB / 0.5831 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.1523, allocations: 198.1 kB / 0.5833 GB, free: 0.9258 MB / 446.1 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.219/0.3714, allocations: 1.49 MB / 0.5847 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.3719, allocations: 171.5 kB / 0.5849 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.3721, allocations: 71.88 kB / 0.585 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.3722, allocations: 86.16 kB / 0.5851 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000301/0.3725, allocations: 136.5 kB / 0.5852 GB, free: 31.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.3726, allocations: 0 / 0.5852 GB, free: 31.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006734/0.3732, allocations: 250.1 kB / 0.5854 GB, free: 31.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3733, allocations: 53.31 kB / 0.5855 GB, free: 31.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.3737, allocations: 340.8 kB / 0.5858 GB, free: 31.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3737, allocations: 31.8 kB / 0.5858 GB, free: 31.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3738, allocations: 219.4 kB / 0.586 GB, free: 31.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.3739, allocations: 57.5 kB / 0.5861 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.3739, allocations: 27.91 kB / 0.5861 GB, free: 31.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.374, allocations: 342.4 kB / 0.5864 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3742, allocations: 77.67 kB / 0.5865 GB, free: 31.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.3745, allocations: 151.7 kB / 0.5867 GB, free: 30.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.3749, allocations: 262.9 kB / 0.5869 GB, free: 30.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3749, allocations: 4.938 kB / 0.5869 GB, free: 30.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000615/0.3755, allocations: 323 kB / 0.5872 GB, free: 30.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.3756, allocations: 34.41 kB / 0.5873 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3756, allocations: 1.812 kB / 0.5873 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3756, allocations: 4.625 kB / 0.5873 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.3759, allocations: 64.22 kB / 0.5873 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3759, allocations: 4.531 kB / 0.5873 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.3762, allocations: 35.3 kB / 0.5874 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3762, allocations: 9.453 kB / 0.5874 GB, free: 30.72 MB / 446.1 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.0001455/0.3764, allocations: 165.7 kB / 0.5875 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.3764, allocations: 36.89 kB / 0.5876 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.377, allocations: 209.1 kB / 0.5878 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.377, allocations: 2.125 kB / 0.5878 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.377, allocations: 0.875 kB / 0.5878 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004641/0.3774, allocations: 494.8 kB / 0.5882 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.3779, allocations: 357.3 kB / 0.5886 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3779, allocations: 3.531 kB / 0.5886 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.3781, allocations: 37.48 kB / 0.5886 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3781, allocations: 1.25 kB / 0.5886 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3781, allocations: 4.797 kB / 0.5886 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3781, allocations: 2.156 kB / 0.5886 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3781, allocations: 0 / 0.5886 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.3788, allocations: 298.7 kB / 0.5889 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.379, allocations: 134.1 kB / 0.589 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.379, allocations: 3.812 kB / 0.589 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.3793, allocations: 23.02 kB / 0.5891 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.3794, allocations: 16.89 kB / 0.5891 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.3794, allocations: 12.36 kB / 0.5891 GB, free: 29.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.3797, allocations: 239 kB / 0.5893 GB, free: 29.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3797, allocations: 0 / 0.5893 GB, free: 29.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.3801, allocations: 119.5 kB / 0.5894 GB, free: 29.59 MB / 446.1 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.00102/0.3811, allocations: 0.9175 MB / 0.5903 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.3817, allocations: 245.1 kB / 0.5906 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3817, allocations: 0 / 0.5906 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.3819, allocations: 77.16 kB / 0.5906 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3829, allocations: 199.8 kB / 0.5908 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3871, allocations: 3.239 MB / 0.594 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.3873, allocations: 0.7983 MB / 0.5948 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.3876, allocations: 61.44 kB / 0.5948 GB, free: 25.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3878, allocations: 119.2 kB / 0.5949 GB, free: 25.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3878, allocations: 0 / 0.5949 GB, free: 25.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.412, allocations: 9.347 MB / 0.6041 GB, free: 23.97 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.4122, allocations: 191.5 kB / 0.6043 GB, free: 23.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.338, allocations: 3.938 kB / 0.6043 GB, free: 23.71 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)