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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 115.1 kB / 17.04 MB, free: 5.793 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.00099/0.0009902, allocations: 195 kB / 17.98 MB, free: 5.02 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6938/0.6938, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3608, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01287/0.3737, allocations: 14.41 MB / 0.5716 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004898/0.3787, allocations: 3.645 MB / 0.5752 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.3793, allocations: 15.84 kB / 0.5752 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.3799, allocations: 201.8 kB / 0.5754 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.3811, allocations: 0.591 MB / 0.576 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009256/0.3821, allocations: 397.9 kB / 0.5764 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.3834, allocations: 1.083 MB / 0.5774 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004273/0.3838, allocations: 310.8 kB / 0.5777 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008681/0.3847, allocations: 391.1 kB / 0.5781 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.3851, allocations: 308.4 kB / 0.5784 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.3851, allocations: 33 kB / 0.5784 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.3857, allocations: 261.2 kB / 0.5787 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3858, allocations: 93.02 kB / 0.5787 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.386, allocations: 217.4 kB / 0.579 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.3868, allocations: 0.5912 MB / 0.5795 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3868, allocations: 0 / 0.5795 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3868, allocations: 1.375 kB / 0.5795 GB, free: 21.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3868, allocations: 3.938 kB / 0.5795 GB, free: 21.68 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.001007/0.3878, allocations: 0.7447 MB / 0.5803 GB, free: 21.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3879, allocations: 10.91 kB / 0.5803 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.3881, allocations: 48.48 kB / 0.5803 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.3887, allocations: 464.8 kB / 0.5808 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3888, allocations: 20.53 kB / 0.5808 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.3888, allocations: 30.52 kB / 0.5808 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.3894, allocations: 310.2 kB / 0.5811 GB, free: 20.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3894, allocations: 1.281 kB / 0.5811 GB, free: 20.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.3895, allocations: 12.53 kB / 0.5811 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.3895, allocations: 8.469 kB / 0.5811 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.39, allocations: 190 kB / 0.5813 GB, free: 20.49 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.00158/0.3915, allocations: 1.493 MB / 0.5828 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.392, allocations: 160 kB / 0.5829 GB, free: 19.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.3921, allocations: 68.97 kB / 0.583 GB, free: 19.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.3922, allocations: 87.94 kB / 0.5831 GB, free: 19.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.3925, allocations: 125.3 kB / 0.5832 GB, free: 19.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.674e-06/0.3925, allocations: 0 / 0.5832 GB, free: 19.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005938/0.3931, allocations: 234.8 kB / 0.5834 GB, free: 18.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.3932, allocations: 57.83 kB / 0.5835 GB, free: 18.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3935, allocations: 354.5 kB / 0.5838 GB, free: 18.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3936, allocations: 32.52 kB / 0.5838 GB, free: 18.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3937, allocations: 219.7 kB / 0.584 GB, free: 18.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.3937, allocations: 51.56 kB / 0.5841 GB, free: 18.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.3938, allocations: 50.23 kB / 0.5841 GB, free: 18.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.3939, allocations: 340.5 kB / 0.5845 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.3941, allocations: 69.25 kB / 0.5845 GB, free: 18.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3943, allocations: 157.4 kB / 0.5847 GB, free: 17.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.3947, allocations: 244.4 kB / 0.5849 GB, free: 17.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3947, allocations: 1.812 kB / 0.5849 GB, free: 17.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005077/0.3952, allocations: 315.6 kB / 0.5852 GB, free: 17.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.3952, allocations: 37.17 kB / 0.5853 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3952, allocations: 0 / 0.5853 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3953, allocations: 3.531 kB / 0.5853 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.3955, allocations: 63.64 kB / 0.5853 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3955, allocations: 4.766 kB / 0.5853 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.3957, allocations: 35.95 kB / 0.5854 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.3958, allocations: 14.28 kB / 0.5854 GB, free: 17.52 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.0001254/0.3959, allocations: 156.7 kB / 0.5855 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.396, allocations: 32.11 kB / 0.5856 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.3964, allocations: 194.3 kB / 0.5857 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3964, allocations: 10.2 kB / 0.5857 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3964, allocations: 8.688 kB / 0.5858 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003823/0.3968, allocations: 490.1 kB / 0.5862 GB, free: 16.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.3972, allocations: 353.7 kB / 0.5866 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3972, allocations: 0 / 0.5866 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3974, allocations: 29.92 kB / 0.5866 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3974, allocations: 1.469 kB / 0.5866 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3974, allocations: 6.547 kB / 0.5866 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3974, allocations: 3.938 kB / 0.5866 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3974, allocations: 6.5 kB / 0.5866 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.398, allocations: 281.2 kB / 0.5869 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3981, allocations: 121.5 kB / 0.587 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.3982, allocations: 1.797 kB / 0.587 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3984, allocations: 26.58 kB / 0.587 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.3985, allocations: 20.5 kB / 0.587 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3985, allocations: 6.656 kB / 0.587 GB, free: 16.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.3987, allocations: 246.9 kB / 0.5873 GB, free: 16.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3987, allocations: 0 / 0.5873 GB, free: 16.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.3992, allocations: 130 kB / 0.5874 GB, free: 16.09 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.0003125/0.3995, allocations: 196.2 kB / 0.5876 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.4, allocations: 227.7 kB / 0.5878 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4, allocations: 0 / 0.5878 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.4002, allocations: 72.48 kB / 0.5879 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/0.401, allocations: 218.2 kB / 0.5881 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4023, allocations: 0.7254 MB / 0.5888 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.4025, allocations: 0.7896 MB / 0.5896 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.4028, allocations: 70.14 kB / 0.5896 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.4029, allocations: 35.7 kB / 0.5897 GB, free: 14.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4029, allocations: 0 / 0.5897 GB, free: 14.57 MB / 446.1 MB Notification: Performance of Templates: time 0.01153/0.4144, allocations: 7.13 MB / 0.5966 GB, free: 11.36 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)